Scenario: [1.1:156]
TC0001_NYS_SLA_Deficiency_Due_Date_Extension_Approved
ms: 22365
>>
Background:
3
* url BaseURL
0
18:37:40.757 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
47
6
* def getcorporateStructureCodeFunc =
1
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
66
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
85
* def IndOrgSelectionDropDown = 'Individual'
1
86
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
6
87
And print indOrgCode
2
18:37:40.815 [print] 1
88
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
1
89
* def CorporateStructureDropDown = 'Individual'
0
90
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
91
And print CorporateStructureDropDownCode
0
18:37:40.818 [print] 1
92
* def firstName = 'Automation'
0
93
* def lastName = 'Automation'
0
94
* def legalName = firstName+ ' '+lastName
0
95
* def Address1 = 'Address1'
0
96
* def Address2 = 'Address2'
0
97
* def CityName = 'New York'
0
98
* def zipCode = '12345'
0
99
* def postalCode = '1234'
0
100
* def countryName = 'United States (US)'
0
101
* def emailId = 'automation@svam.com'
0
102
* def convictedOfCrime = 1
0
103
* def percentageOfOwners = 20
0
104
* def isFingerprintRequired = true
0
105
* def isFingerprintsApproved = true
0
106
* def isSignature = false
0
108
* def convictedOfCrime = 1
0
109
* def PhoneNumber = '999-999-9999'
0
110
* def PhoneExtn = 1234
0
111
* def countryCode = '+91'
0
112
* def stateCode = 40
0
114
* def mainLicensePermitTypeId = 40
0
115
* def termInYears = 3
0
116
* def termDesc = 3+' Year (s)'
1
117
* def licenseFees = 960
0
118
* def fillingFees = 100
0
119
* def licAncillaryFees = 1000
0
120
* def renewalFees = 30+''
0
121
* string productName = 'RestaurantBeer'+''
0
123
* def CountyId = 12
0
124
* def CountyName = 'New York'
0
125
* def totalFees = licenseFees+fillingFees
0
126
* def amountPaid = totalFees+''
1
127
* def splittedCityName = CityName.replaceAll(" ","")
2
130
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
4212
>>
karate.UseCases.LicensesCommonMethods
3160
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
5
6
* def db = new DbUtils(config)
5
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
7
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
7
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
2456
>>
karate.UseCases.LicensesCommonMethods
1606
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
1450
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
148
18:37:44.141 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:37:44.284 response time in milliseconds: 143
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:41 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
3
292
* def countyZone = countyData[0].ZoneNo
2
293
And print countyZone
0
18:37:44.335 [print] 2
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
184
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
155
18:37:44.521 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 328
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":12,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
18:37:44.674 response time in milliseconds: 153
1 < 200
1 < Content-Length: 234
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:41 GMT
[{"childAppId":null,"mainApplicationId":"NA-0111-22-219019","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-219019","parentAppId":13808,"appId":13808,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
0
316
And print ApplicationId
0
18:37:44.676 [print] NA-0111-22-219019
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
1
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
2
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
135
330
And header authorization = 'Bearer ' + strToken
1
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
189
18:37:44.816 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13808
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
18:37:45.005 response time in milliseconds: 189
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:07:41 GMT
2 < Content-Length: 185
{"applicationId":"NA-0111-22-219019","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
0
18:37:45.006 [print] Draft
340
And match licStatus == 'Draft'
0
131
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
1398
>>
karate.UseCases.LicensesCommonMethods
196
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
1
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
1
717
When method post
184
18:37:46.232 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13808
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115183746","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115183746Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
18:37:46.413 response time in milliseconds: 181
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:43 GMT
1 < Content-Length: 2190
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":3957,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115183746","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115183746Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29187,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25105,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7714,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13122,"dba":null,"countyId":12,"countyName":"Albany","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29188,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25106,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7715,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9714,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4261,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
132
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
1216
>>
karate.UseCases.LicensesCommonMethods
321
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
1
757
* def dt = licDate()
1
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
314
18:37:47.323 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13808
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 1103
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":1,"percentageOfOwners":20,"isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T18:37:47.322Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115183747","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T18:37:47.322Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
18:37:47.636 response time in milliseconds: 313
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:44 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3238,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5502,"firstName":"Automation20221115183747","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29189,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25107,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
133
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
733
>>
karate.UseCases.LicensesCommonMethods
198
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
195
18:37:48.184 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13808
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
18:37:48.378 response time in milliseconds: 194
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:44 GMT
true
794
Then status 200
0
795
And def serverResponse = response
0
134
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
2635
>>
karate.UseCases.LicensesCommonMethods
2084
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
2
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
0
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
230
18:37:48.933 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13808
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:37:49.162 response time in milliseconds: 229
1 < 200
1 < Content-Length: 658
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:46 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219019","applicationTypeId":1,"appFeesId":0,"appId":13808,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
18:37:49.163 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
169
18:37:49.164 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13808,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13808,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13808,"createdBy":"Tarun Gupta"}
18:37:49.333 response time in milliseconds: 168
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:07:46 GMT
false
862
Then status 200
0
863
And print response
0
18:37:49.333 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
875
When method post
223
18:37:49.334 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13808/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13808,"slaintakeDate":"2022-11-15T18:37:48.932Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:37:48.932Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219019","applicationTypeId":1,"appFeesId":0,"appId":13808,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:37:48.929Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13808,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13808,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13808,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13808,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13808,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13808,"createdBy":"Tarun Gupta"},"taskId":null}
18:37:49.556 response time in milliseconds: 222
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:07:46 GMT
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
192
18:37:49.558 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13808
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
18:37:49.749 response time in milliseconds: 190
4 < 200
4 < Content-Length: 442
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 13:07:46 GMT
[{"checkDetailId":2303,"appId":13808,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T08:07:46.793","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
0
884
And print checkDetailId
0
18:37:49.749 [print] 2303
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
18:37:49.749 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
1
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
920
When method post
217
18:37:49.752 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13808/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13808,"slaintakeDate":"2022-11-15T18:37:49.751Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:37:49.751Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219019","applicationTypeId":1,"appFeesId":0,"appId":13808,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:37:48.929Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13808,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13808,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13808,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13808,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13808,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13808,"createdBy":"Tarun Gupta"},"taskId":null}
18:37:49.968 response time in milliseconds: 216
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 13:07:46 GMT
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
0
931
When method post
356
18:37:49.970 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13808,"formID":1165,"applicationID":"NA-0111-22-219019","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:37:50.325 response time in milliseconds: 355
6 < 200
6 < Content-Length: 51
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 13:07:47 GMT
{"appId":13808,"applicationId":"NA-0111-22-219019"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
214
18:37:50.327 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13808
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
18:37:50.539 response time in milliseconds: 212
7 < 200
7 < Content-Length: 660
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 13:07:47 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219019","applicationTypeId":1,"appFeesId":3040,"appId":13808,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
0
18:37:50.540 [print] 3040
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
18:37:50.540 [print] 3040
946
And print feesRefId1
0
18:37:50.540 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
18:37:50.541 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
18:37:50.542 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
18:37:50.542 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
18:37:50.542 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
208
18:37:50.544 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13808/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2303,"appId":13808,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:37:49.751Z","slaintakeDate":"2022-11-15T18:37:49.751Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:37:49.751Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219019","applicationTypeId":1,"appFeesId":6039,"appId":13808,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13808,"checkDetailId":2303,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T18:37:48.929Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13808,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13808,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13808,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13808,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13808,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13808,"createdBy":"Tarun Gupta"},"taskId":null}
18:37:50.751 response time in milliseconds: 207
8 < 200
8 < Content-Length: 4
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 13:07:47 GMT
true
972
Then status 200
0
973
And print response
0
18:37:50.752 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
260
18:37:50.757 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13808,"formID":1165,"applicationID":"NA-0111-22-219019","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:37:51.013 response time in milliseconds: 256
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 13:07:47 GMT
{"appId":13808,"applicationId":"NA-0111-22-219019"}
982
Then status 200
0
983
And def serverResponse = response
0
135
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
2999
>>
karate.UseCases.LicensesCommonMethods
1604
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
322
18:37:52.413 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13808,"wfType":null}
18:37:52.734 response time in milliseconds: 321
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:49 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13808,"applicationId":"NA-0111-22-219019","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1276
>>
karate.UseCases.LicensesCommonMethods
360
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
1
1195
* def dbSts = db.cleanHeap()
196
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
157
18:37:53.823 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13808
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:37:53.978 response time in milliseconds: 155
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:51 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-219019","submitDate":"2022-11-15T08:07:49.873","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:37:53.979 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
136
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'IntakeComplete'}
1054
>>
karate.UseCases.LicensesCommonMethods
217
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
3
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
206
18:37:54.863 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219019"}]
18:37:55.068 response time in milliseconds: 205
1 < 200
1 < Content-Length: 633
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:52 GMT
{"data":[{"acaId":13808,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183746Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":null,"premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219019","licenseId":null,"wfRoleId":2,"applicationStatus":"IntakeComplete","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
18:37:55.069 [print] {
"data": [
{
"acaId": 13808,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183746Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": null,
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219019",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "IntakeComplete",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
137
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
2275
>>
karate.UseCases.LicensesCommonMethods
1430
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
5
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
259
18:37:55.919 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":13808,"examinerId":1069,"priority":"Normal"}]
18:37:56.177 response time in milliseconds: 258
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:53 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1163
>>
karate.UseCases.LicensesCommonMethods
315
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
163
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
146
18:37:57.181 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13808
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:37:57.326 response time in milliseconds: 145
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:54 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-219019","submitDate":"2022-11-15T08:07:49.873","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:37:57.328 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
139
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
736
>>
karate.UseCases.LicensesCommonMethods
166
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
1
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
158
18:37:57.923 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219019"}]
18:37:58.079 response time in milliseconds: 156
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:54 GMT
1 < Content-Length: 641
{"data":[{"acaId":13808,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183746Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219019","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
18:37:58.079 [print] {
"data": [
{
"acaId": 13808,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183746Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219019",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
0
140
* call read('LicensesCommonMethods.feature@ExaminerReviewApprovalWithAllDefineDeficiencies') {expStatus:'Additional Info Required'}
1947
>>
karate.UseCases.LicensesCommonMethods
1463
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* ExaminerReviewApprovalWithAllDefineDeficiencies *********************
4766
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
4774
Given path '/internalapi/api/application/'+appId
0
4775
* def dbSts = db.cleanHeap()
106
4776
And header authorization = 'Bearer ' + strToken
0
4777
And header Content-Type = 'application/json; charset=utf-8'
0
4778
And header Accept = 'application/json; text/plain;*/*'
0
4779
And configure continueOnStepFailure = true
0
4780
And request {}
0
4781
When method get
196
18:37:58.673 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/13808
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:37:58.866 response time in milliseconds: 193
1 < 200
1 < Content-Length: 2491
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:56 GMT
{"applicationCategory":1,"appId":13808,"applicationId":"NA-0111-22-219019","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1712,"formId":1165,"legalName":"Automation20221115183746Automation","submitDate":"2022-11-15T08:07:49.873","isGISRequired":false,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"11/22/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2678,"appId":13808,"examinerId":1069,"name":null,"assignDate":"2022-11-15T08:07:53.35","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T08:07:53.35"}
4782
* configure continueOnStepFailure = true
0
4783
Then status 200
0
4784
And def formVerID = response.formVersionId
0
4785
And print formVerID
0
18:37:58.867 [print] 1712
4786
And def formId = response.formId
0
4787
And print formId
0
18:37:58.868 [print] 1165
4788
And def legalName = response.legalName
0
4789
And print legalName
0
18:37:58.868 [print] Automation20221115183746Automation
4790
And def submitDate = response.submitDate
0
4791
And print submitDate
0
18:37:58.869 [print] 2022-11-15T08:07:49.873
4793
And def pastDueDate = response.pastDueDate
0
4794
And print pastDueDate
0
18:37:58.869 [print] 11/22/2022 12:00:00 AM
4796
And def appExaminerId = response.assignAppExaminer.appExaminerId
0
4797
And print appExaminerId
0
18:37:58.869 [print] 2678
4798
And def examinerId = response.assignAppExaminer.examinerId
0
4799
And print examinerId
0
18:37:58.870 [print] 1069
4800
And def assignDate = response.assignAppExaminer.assignDate
0
4801
And print assignDate
0
18:37:58.870 [print] 2022-11-15T08:07:53.35
4802
And def licPermitTypeId = response.licePermitType.licPermitTypeId
0
4803
And print licPermitTypeId
0
18:37:58.870 [print] 40
4804
And def type = response.licePermitType.type
0
4805
And print type
0
18:37:58.870 [print] 1
4806
And def category = response.licePermitType.category
0
4807
And print category
0
18:37:58.870 [print] 1
4808
And def product = response.licePermitType.product
0
4809
And print product
0
18:37:58.871 [print] Beer
4810
Given path '/internalapi/api/licensing/examiner-review/SaveNewLicense'
0
4811
* def formatedSumbitDate = summisionDate()
0
4812
And header authorization = 'Bearer ' + strToken
0
4813
And header current-wfroleid = 4
0
4814
And request {"isFingerPrintsApproved":true,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":3,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":'#(formVersionId)',"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":false,"isAllDeficienciesMet":null,"pastDueDate":"1/1/1970 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":'#(appExaminerId)',"appId":'#(appId)',"examinerId":'#(examinerId)',"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"3","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Define Deficiencies","value":1},"emailNotificationModel":{"applicant":{"communicationId":64788,"email":"Automation@test.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":64791,"email":"Automation@test.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"notificationTypeId":2028,"isInstantEmail":false},"hasErrors":[],"taskId":1026,"newComments":"DefineDeficiencies Desc","erDeficiencies":{"selectInput":{"fromFields":[{"id":4,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP"},{"id":6,"label":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Premises address does not match the address listed on lease."},{"id":10,"label":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. "},{"id":15,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord name must be the name shown on the deed."},{"id":17,"label":"All principals of the landlord entity must be listed."},{"id":18,"label":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Provide a personal questionnaire for __________________."},{"id":26,"label":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Amend the diagram to include the food prep area"},{"id":33,"label":"Provide a diagram of the basement"},{"id":34,"label":"Provide a block plot diagram"},{"id":35,"label":"Add the outside area to the diagram "},{"id":36,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Submit a copy of the menu."},{"id":42,"label":"Provide proof of citizenship for _________________."},{"id":43,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"______________________ needs to be fingerprinted. "},{"id":123,"label":"Additional Funds Required"},{"id":129,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"id":130,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide your federal tax identification number."},{"id":132,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":134,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"id":135,"label":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB permit."},{"id":140,"label":"Surrender of the current license in effect."},{"id":141,"label":"Make the edits listed below to the curriculum."},{"id":142,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Remove the following content from the applicants' website:"},{"id":156,"label":"Provide the legal name of the applicant."},{"id":157,"label":"Provide the mailing address of the applicant."},{"id":158,"label":"Provide the federal id number of the applicant."},{"id":159,"label":"Provide the applicant's contact phone number."},{"id":160,"label":"Provide the applicant's email address."},{"id":161,"label":"Provide the director's name."},{"id":162,"label":"Provide the director's phone number."},{"id":163,"label":"Provide the director's email address."},{"id":164,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."}],"toFields":[{"id":-1,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt.","originalId":4},{"id":-2,"label":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP","originalId":5},{"id":-3,"label":"Provide a copy of the corporate minutes for the applicant entity","originalId":6},{"id":-4,"label":"Provide a copy of the LLC operating agreement for the applicant entity","originalId":7},{"id":-5,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership.","originalId":8},{"id":-6,"label":"Premises address does not match the address listed on lease.","originalId":9},{"id":-7,"label":"Premises address does not match the address listed on the bill of sale.","originalId":10},{"id":-8,"label":"Premises address does not match the address listed on the deed.","originalId":11},{"id":-9,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address).","originalId":12},{"id":-10,"label":"Submit a Notice of Appearance or the attorney or representative.","originalId":13},{"id":-11,"label":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. ","originalId":14},{"id":-12,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). ","originalId":15},{"id":-13,"label":"Landlord name must be the name shown on the deed.","originalId":16},{"id":-14,"label":"All principals of the landlord entity must be listed.","originalId":17},{"id":-15,"label":"To verify ownership, submit a copy of the deed.","originalId":18},{"id":-16,"label":"The source of ALL funds (cash and borrowed) must be listed on this form.","originalId":19},{"id":-17,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended.","originalId":20},{"id":-18,"label":"Submit a copy of all executed loan agreements. ","originalId":21},{"id":-19,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment.","originalId":22},{"id":-20,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license.","originalId":23},{"id":-21,"label":"Please complete the Statement of Area Plan form","originalId":24},{"id":-22,"label":"Provide a personal questionnaire for __________________.","originalId":25},{"id":-23,"label":"Please list gender on _________'s personal questionnaire.","originalId":26},{"id":-24,"label":"Provide residence addresses for the last 5 consecutive years.","originalId":27},{"id":-25,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":28},{"id":-26,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","originalId":29},{"id":-27,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":30},{"id":-28,"label":"Amend the diagram labeling all rooms and bars","originalId":31},{"id":-29,"label":"Amend the diagram to include the food prep area","originalId":32},{"id":-30,"label":"Provide a diagram of the basement","originalId":33},{"id":-31,"label":"Provide a block plot diagram","originalId":34},{"id":-32,"label":"Add the outside area to the diagram ","originalId":35},{"id":-33,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo.","originalId":36},{"id":-34,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo.","originalId":37},{"id":-35,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos.","originalId":38},{"id":-36,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":39},{"id":-37,"label":"Provide a copy of ____________'s photo identification.","originalId":40},{"id":-38,"label":"Submit a copy of the menu.","originalId":41},{"id":-39,"label":"Provide proof of citizenship for _________________.","originalId":42},{"id":-40,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment.","originalId":43},{"id":-41,"label":"Submit a copy of the maximum occupancy certificate.","originalId":44},{"id":-42,"label":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-43,"label":"Additional Funds Required","originalId":123},{"id":-44,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","originalId":129},{"id":-45,"label":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-46,"label":"Provide your federal tax identification number.","originalId":131},{"id":-47,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-48,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","originalId":133},{"id":-49,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","originalId":134},{"id":-50,"label":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-51,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-52,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-53,"label":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-54,"label":"Provide your TTB permit.","originalId":139},{"id":-55,"label":"Surrender of the current license in effect.","originalId":140},{"id":-56,"label":"Make the edits listed below to the curriculum.","originalId":141},{"id":-57,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law.","originalId":142},{"id":-58,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65).","originalId":143},{"id":-59,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only).","originalId":144},{"id":-60,"label":"The licensee's and server's responsibility to reasonably supervise the premises.","originalId":145},{"id":-61,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification.","originalId":146},{"id":-62,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age.","originalId":147},{"id":-63,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2).","originalId":148},{"id":-64,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected.","originalId":149},{"id":-65,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained.","originalId":150},{"id":-66,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20).","originalId":151},{"id":-67,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101).","originalId":152},{"id":-68,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives).","originalId":153},{"id":-69,"label":"Provide the New York State Liquor Authority with access to the online course for review.","originalId":154},{"id":-70,"label":"Remove the following content from the applicants' website:","originalId":155},{"id":-71,"label":"Provide the legal name of the applicant.","originalId":156},{"id":-72,"label":"Provide the mailing address of the applicant.","originalId":157},{"id":-73,"label":"Provide the federal id number of the applicant.","originalId":158},{"id":-74,"label":"Provide the applicant's contact phone number.","originalId":159},{"id":-75,"label":"Provide the applicant's email address.","originalId":160},{"id":-76,"label":"Provide the director's name.","originalId":161},{"id":-77,"label":"Provide the director's phone number.","originalId":162},{"id":-78,"label":"Provide the director's email address.","originalId":163},{"id":-79,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats.","originalId":164}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}}}
2
# And request {"isFingerPrintsApproved":true,"isFingerPrintsRequired":true,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":'#(formVerID)',"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"8/12/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":'#(appExaminerId)',"appId":'#(appId)',"examinerId":'#(examinerId)',"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"1","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Define Deficiencies","value":1},"emailNotificationModel":{"applicant":{"communicationId":14595,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":14598,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"notificationTypeId":2028,"isInstantEmail":false},"hasErrors":[],"taskId":1026,"erDeficiencies":{"selectInput":{"fromFields":[{"id":4,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP"},{"id":6,"label":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Premises address does not match the address listed on lease."},{"id":10,"label":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. "},{"id":15,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord name must be the name shown on the deed."},{"id":17,"label":"All principals of the landlord entity must be listed."},{"id":18,"label":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Provide a personal questionnaire for __________________."},{"id":26,"label":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Amend the diagram to include the food prep area"},{"id":33,"label":"Provide a diagram of the basement"},{"id":34,"label":"Provide a block plot diagram"},{"id":35,"label":"Add the outside area to the diagram "},{"id":36,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Submit a copy of the menu."},{"id":42,"label":"Provide proof of citizenship for _________________."},{"id":43,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"______________________ needs to be fingerprinted. "},{"id":123,"label":"Additional Funds Required"},{"id":129,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"id":130,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide your federal tax identification number."},{"id":132,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":134,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"id":135,"label":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB permit."},{"id":140,"label":"Surrender of the current license in effect."},{"id":141,"label":"Make the edits listed below to the curriculum."},{"id":142,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Remove the following content from the applicants' website:"},{"id":156,"label":"Provide the legal name of the applicant."},{"id":157,"label":"Provide the mailing address of the applicant."},{"id":158,"label":"Provide the federal id number of the applicant."},{"id":159,"label":"Provide the applicant's contact phone number."},{"id":160,"label":"Provide the applicant's email address."},{"id":161,"label":"Provide the director's name."},{"id":162,"label":"Provide the director's phone number."},{"id":163,"label":"Provide the director's email address."},{"id":164,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."}],"toFields":[{"id":-1,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt.","originalId":4}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}},"newComments":""}
4816
When method post
315
18:37:58.874 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewLicense
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
2 > current-wfroleid: 4
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 25289
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":true,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":3,"appId":13808,"applicationId":"NA-0111-22-219019","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":"#(formVersionId)","formId":1165,"legalName":"Automation20221115183746Automation","submitDate":"2022-11-15T18:37:58.871","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":false,"isAllDeficienciesMet":null,"pastDueDate":"1\/1\/1970 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2678,"appId":13808,"examinerId":1069,"name":null,"assignDate":"2022-11-15T18:37:58.871","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"3","product":"RestaurantBeer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T18:37:58.871"},"appId":13808,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Define Deficiencies","value":1},"emailNotificationModel":{"applicant":{"communicationId":64788,"email":"Automation@test.com","appId":13808,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":64791,"email":"Automation@test.com","appId":13808,"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13808,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"notificationTypeId":2028,"isInstantEmail":false},"hasErrors":[],"taskId":1026,"newComments":"DefineDeficiencies Desc","erDeficiencies":{"selectInput":{"fromFields":[{"id":4,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Submit a copy of the Secretary of State filing receipt for the corp\/LLC\/LLP"},{"id":6,"label":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Premises address does not match the address listed on lease."},{"id":10,"label":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Entity owning real property does not match applicant name \u2013 A lease between the two parties is required and must be submitted. "},{"id":15,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment\/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord name must be the name shown on the deed."},{"id":17,"label":"All principals of the landlord entity must be listed."},{"id":18,"label":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Provide a personal questionnaire for __________________."},{"id":26,"label":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Amend the diagram to include the food prep area"},{"id":33,"label":"Provide a diagram of the basement"},{"id":34,"label":"Provide a block plot diagram"},{"id":35,"label":"Add the outside area to the diagram "},{"id":36,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Submit a copy of the menu."},{"id":42,"label":"Provide proof of citizenship for _________________."},{"id":43,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"______________________ needs to be fingerprinted. "},{"id":123,"label":"Additional Funds Required"},{"id":129,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"id":130,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide your federal tax identification number."},{"id":132,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"id":134,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"id":135,"label":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB permit."},{"id":140,"label":"Surrender of the current license in effect."},{"id":141,"label":"Make the edits listed below to the curriculum."},{"id":142,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and\/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Remove the following content from the applicants' website:"},{"id":156,"label":"Provide the legal name of the applicant."},{"id":157,"label":"Provide the mailing address of the applicant."},{"id":158,"label":"Provide the federal id number of the applicant."},{"id":159,"label":"Provide the applicant's contact phone number."},{"id":160,"label":"Provide the applicant's email address."},{"id":161,"label":"Provide the director's name."},{"id":162,"label":"Provide the director's phone number."},{"id":163,"label":"Provide the director's email address."},{"id":164,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."}],"toFields":[{"id":-1,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt.","originalId":4},{"id":-2,"label":"Submit a copy of the Secretary of State filing receipt for the corp\/LLC\/LLP","originalId":5},{"id":-3,"label":"Provide a copy of the corporate minutes for the applicant entity","originalId":6},{"id":-4,"label":"Provide a copy of the LLC operating agreement for the applicant entity","originalId":7},{"id":-5,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership.","originalId":8},{"id":-6,"label":"Premises address does not match the address listed on lease.","originalId":9},{"id":-7,"label":"Premises address does not match the address listed on the bill of sale.","originalId":10},{"id":-8,"label":"Premises address does not match the address listed on the deed.","originalId":11},{"id":-9,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address).","originalId":12},{"id":-10,"label":"Submit a Notice of Appearance or the attorney or representative.","originalId":13},{"id":-11,"label":"Entity owning real property does not match applicant name \u2013 A lease between the two parties is required and must be submitted. ","originalId":14},{"id":-12,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment\/rider to the existing one (signed by both landlord and tenant). ","originalId":15},{"id":-13,"label":"Landlord name must be the name shown on the deed.","originalId":16},{"id":-14,"label":"All principals of the landlord entity must be listed.","originalId":17},{"id":-15,"label":"To verify ownership, submit a copy of the deed.","originalId":18},{"id":-16,"label":"The source of ALL funds (cash and borrowed) must be listed on this form.","originalId":19},{"id":-17,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended.","originalId":20},{"id":-18,"label":"Submit a copy of all executed loan agreements. ","originalId":21},{"id":-19,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment.","originalId":22},{"id":-20,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license.","originalId":23},{"id":-21,"label":"Please complete the Statement of Area Plan form","originalId":24},{"id":-22,"label":"Provide a personal questionnaire for __________________.","originalId":25},{"id":-23,"label":"Please list gender on _________'s personal questionnaire.","originalId":26},{"id":-24,"label":"Provide residence addresses for the last 5 consecutive years.","originalId":27},{"id":-25,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":28},{"id":-26,"label":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","originalId":29},{"id":-27,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":30},{"id":-28,"label":"Amend the diagram labeling all rooms and bars","originalId":31},{"id":-29,"label":"Amend the diagram to include the food prep area","originalId":32},{"id":-30,"label":"Provide a diagram of the basement","originalId":33},{"id":-31,"label":"Provide a block plot diagram","originalId":34},{"id":-32,"label":"Add the outside area to the diagram ","originalId":35},{"id":-33,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo.","originalId":36},{"id":-34,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo.","originalId":37},{"id":-35,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos.","originalId":38},{"id":-36,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":39},{"id":-37,"label":"Provide a copy of ____________'s photo identification.","originalId":40},{"id":-38,"label":"Submit a copy of the menu.","originalId":41},{"id":-39,"label":"Provide proof of citizenship for _________________.","originalId":42},{"id":-40,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment.","originalId":43},{"id":-41,"label":"Submit a copy of the maximum occupancy certificate.","originalId":44},{"id":-42,"label":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-43,"label":"Additional Funds Required","originalId":123},{"id":-44,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","originalId":129},{"id":-45,"label":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-46,"label":"Provide your federal tax identification number.","originalId":131},{"id":-47,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-48,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","originalId":133},{"id":-49,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","originalId":134},{"id":-50,"label":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-51,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-52,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-53,"label":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-54,"label":"Provide your TTB permit.","originalId":139},{"id":-55,"label":"Surrender of the current license in effect.","originalId":140},{"id":-56,"label":"Make the edits listed below to the curriculum.","originalId":141},{"id":-57,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law.","originalId":142},{"id":-58,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65).","originalId":143},{"id":-59,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only).","originalId":144},{"id":-60,"label":"The licensee's and server's responsibility to reasonably supervise the premises.","originalId":145},{"id":-61,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification.","originalId":146},{"id":-62,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age.","originalId":147},{"id":-63,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2).","originalId":148},{"id":-64,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected.","originalId":149},{"id":-65,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained.","originalId":150},{"id":-66,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20).","originalId":151},{"id":-67,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101).","originalId":152},{"id":-68,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and\/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives).","originalId":153},{"id":-69,"label":"Provide the New York State Liquor Authority with access to the online course for review.","originalId":154},{"id":-70,"label":"Remove the following content from the applicants' website:","originalId":155},{"id":-71,"label":"Provide the legal name of the applicant.","originalId":156},{"id":-72,"label":"Provide the mailing address of the applicant.","originalId":157},{"id":-73,"label":"Provide the federal id number of the applicant.","originalId":158},{"id":-74,"label":"Provide the applicant's contact phone number.","originalId":159},{"id":-75,"label":"Provide the applicant's email address.","originalId":160},{"id":-76,"label":"Provide the director's name.","originalId":161},{"id":-77,"label":"Provide the director's phone number.","originalId":162},{"id":-78,"label":"Provide the director's email address.","originalId":163},{"id":-79,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats.","originalId":164}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}}}
18:37:59.188 response time in milliseconds: 314
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:07:56 GMT
2 < Content-Length: 4
true
4817
Then status 200
0
4818
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
838
>>
karate.UseCases.LicensesCommonMethods
271
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
117
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
149
18:37:59.871 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13808
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:00.019 response time in milliseconds: 148
1 < 200
1 < Content-Length: 225
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:57 GMT
{"applicationId":"NA-0111-22-219019","submitDate":"2022-11-15T08:07:49.873","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Additional Info Required"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:38:00.020 [print] Additional Info Required
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
141
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
631
>>
karate.UseCases.LicensesCommonMethods
153
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
149
18:38:00.509 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219019"}]
18:38:00.656 response time in milliseconds: 147
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:57 GMT
1 < Content-Length: 641
{"data":[{"acaId":13808,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183746Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219019","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
18:38:00.656 [print] {
"data": [
{
"acaId": 13808,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183746Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219019",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
0
142
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {expStatus:'Additional Info Required'}
768
>>
karate.UseCases.LicensesCommonMethods
286
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
134
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
147
18:38:01.273 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13808
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:01.419 response time in milliseconds: 146
1 < 200
1 < Content-Length: 225
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:58 GMT
{"applicationId":"NA-0111-22-219019","submitDate":"2022-11-15T08:07:49.873","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Additional Info Required"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:38:01.420 [print] Additional Info Required
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
144
* call read('LicensesCommonMethods.feature@getDueDateExtension2'){}
656
>>
karate.UseCases.LicensesCommonMethods
210
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
2268
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2269
And header authorization = 'Bearer ' + strToken
0
2270
And request ''
0
2271
When method get
205
18:38:01.873 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13808
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:38:02.077 response time in milliseconds: 204
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:58 GMT
1 < Content-Length: 425
{"existingData":[{"applicationDueDateID":0,"appId":13808,"statusID":0,"decision":null,"currentDueDate":null,"pastDueDate":null,"extendtoDate":null,"status":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2272
Then status 200
0
2273
And def serverResponse = response
0
2274
* def currentDueDate = serverResponse.existingData[0].currentDueDate
0
145
* def extendedDueDate = fundDueDateFunc1(10)
2
146
And print extendedDueDate
0
18:38:02.086 [print] 2022-11-25
148
* def approvedStatus = true
0
150
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension2'){}
1039
18:38:03.126 classpath:karate/UseCases/UC_LIC_027_ExtendDueDate.feature:150
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension2'){}
match failed: CONTAINS
$ | data types don't match (NULL:STRING)
null
'2022-11-25'
classpath:karate/UseCases/LicensesCommonMethods.feature:2338
classpath:karate/UseCases/UC_LIC_027_ExtendDueDate.feature:150
>>
karate.UseCases.LicensesCommonMethods
579
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Approve Due Date *********************
2311
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2312
And header authorization = 'Bearer ' + strToken
0
2313
And request ''
0
2314
When method get
152
18:38:02.552 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/13808/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:38:02.702 response time in milliseconds: 149
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:07:59 GMT
1 < Content-Length: 1959
{"applicant":{"communicationId":25105,"email":"automation@svam.com","appId":13808,"emailContactTypeId":1,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25108,"email":"sbandi@svam.com","appId":13808,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2315
Then status 200
0
2316
And def serverResponse = response
0
2317
* def applicantCommId = serverResponse.applicant.communicationId
0
2318
* def attorneyCommId = serverResponse.attorney.communicationId
0
2320
Given path '/internalapi/api/licensing/duedate-extension/save'
0
2321
And header authorization = 'Bearer ' + strToken
0
2322
And header current-wfroleid = '3'
0
2323
And print extendedDueDate
0
18:38:02.703 [print] 2022-11-25
2324
And request {"extendtoDate":'#(extendedDueDate)',"decision":'#(approvedStatus)',"appId":'#(appId)',"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":'#(applicantCommId)',"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":'#(attorneyCommId)',"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
0
#{"extendtoDate":"2022-10-24T14:25:56.000Z","decision":true,"appId":9038,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}}}
#{"extendtoDate":"2022-10-29 ","decision":true,"appId":9038,"taskId":1304,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
2327
When method post
227
18:38:02.705 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
2 > current-wfroleid: 3
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 1622
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"extendtoDate":"2022-11-25","decision":true,"appId":13808,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":25105,"email":"automation@svam.com","appId":13808,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25108,"email":"sbandi@svam.com","appId":13808,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
18:38:02.931 response time in milliseconds: 225
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:07:59 GMT
true
2328
Then status 200
0
2329
And def serverResponse = response
0
2330
And print serverResponse
0
18:38:02.931 [print] true
2331
* match serverResponse == 'true'
0
2332
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2333
And header authorization = 'Bearer ' + strToken
0
2334
And request ''
0
2335
When method get
193
18:38:02.933 request:
3 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13808
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
3 > Content-Type: text/plain; charset=UTF-8
3 > Content-Length: 0
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
18:38:03.125 response time in milliseconds: 192
3 < 200
3 < Content-Length: 425
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:07:59 GMT
{"existingData":[{"applicationDueDateID":0,"appId":13808,"statusID":0,"decision":null,"currentDueDate":null,"pastDueDate":null,"extendtoDate":null,"status":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2336
Then status 200
0
2337
And def serverResponse = response
0
2338
* match serverResponse.existingData[0].currentDueDate contains extendedDueDate
0
match failed: CONTAINS
$ | data types don't match (NULL:STRING)
null
'2022-11-25'
classpath:karate/UseCases/LicensesCommonMethods.feature:2338match failed: CONTAINS
$ | data types don't match (NULL:STRING)
null
'2022-11-25'
classpath:karate/UseCases/LicensesCommonMethods.feature:2338
Scenario: [2:159]
TC0006_NYS_SLA_Failed_Payment_Extension_Approved
ms: 16887
>>
Background:
3
* url BaseURL
0
18:38:03.133 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
29
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
66
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
# ********* Login Functionality *********************
## ******************** UC_LIC_027_ExtendDueDateOfReturnCheck: TC0006_NYS_SLA_Failed_Payment_Extension_Approved Scenario Start ***************************##
167
* call read('UC_LIC_027_ReturnCheck.feature@TC0002_NYC_SLA_LIC_Update_Application_Send_Notifications'){}
15855
>>
karate.UseCases.UC_LIC_027_ReturnCheck
14124
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
29
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
29
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
41
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
85
* def IndOrgSelectionDropDown = 'Individual'
0
86
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
87
And print indOrgCode
0
18:38:04.921 [print] 1
88
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
89
* def CorporateStructureDropDown = 'Individual'
0
90
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
91
And print CorporateStructureDropDownCode
0
18:38:04.921 [print] 1
92
* def firstName = 'Automation'
0
93
* def lastName = 'Automation'
0
94
* def legalName = firstName+ ' '+lastName
0
95
* def Address1 = 'Address1'
0
96
* def Address2 = 'Address2'
0
97
* def CityName = 'New York'
0
98
* def zipCode = '12345'
0
99
* def postalCode = '1234'
0
100
* def countryName = 'United States (US)'
0
101
* def emailId = 'automation@svam.com'
0
102
* def convictedOfCrime = 1
0
103
* def percentageOfOwners = 20
0
104
* def isFingerprintRequired = true
0
105
* def isFingerprintsApproved = true
0
106
* def isSignature = false
0
108
* def convictedOfCrime = 1
0
109
* def PhoneNumber = '999-999-9999'
0
110
* def PhoneExtn = 1234
0
111
* def countryCode = '+91'
0
112
* def stateCode = 40
0
114
* def mainLicensePermitTypeId = 40
0
115
* def termInYears = 3
0
116
* def termDesc = 3+' Year (s)'
0
117
* def licenseFees = 960
0
118
* def fillingFees = 100
0
119
* def licAncillaryFees = 1000
0
120
* def renewalFees = 30+''
0
121
* string productName = 'RestaurantBeer'+''
0
123
* def CountyId = 12
0
124
* def CountyName = 'New York'
0
125
* def totalFees = licenseFees+fillingFees
0
126
* def amountPaid = totalFees+''
0
127
* def splittedCityName = CityName.replaceAll(" ","")
0
129
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
2350
>>
karate.UseCases.LicensesCommonMethods
1783
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
1112
>>
karate.UseCases.LicensesCommonMethods
428
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
247
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
176
18:38:06.394 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:06.568 response time in milliseconds: 174
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:03 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
1
292
* def countyZone = countyData[0].ZoneNo
0
293
And print countyZone
0
18:38:06.591 [print] 2
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
191
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
151
18:38:06.784 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 328
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":12,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
18:38:06.934 response time in milliseconds: 149
1 < 200
1 < Content-Length: 234
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:03 GMT
[{"childAppId":null,"mainApplicationId":"NA-0111-22-219020","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-219020","parentAppId":13809,"appId":13809,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
0
316
And print ApplicationId
0
18:38:06.935 [print] NA-0111-22-219020
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
1
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
143
330
And header authorization = 'Bearer ' + strToken
0
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
178
18:38:07.081 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13809
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
18:38:07.257 response time in milliseconds: 176
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:08:03 GMT
2 < Content-Length: 185
{"applicationId":"NA-0111-22-219020","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
0
18:38:07.258 [print] Draft
340
And match licStatus == 'Draft'
0
130
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
916
>>
karate.UseCases.LicensesCommonMethods
268
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
1
717
When method post
264
18:38:07.910 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13809
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115183807","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115183807Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
18:38:08.174 response time in milliseconds: 263
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:05 GMT
1 < Content-Length: 2190
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":3958,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115183807","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115183807Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29191,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25109,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7716,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13123,"dba":null,"countyId":12,"countyName":"Albany","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29192,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25110,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7717,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9715,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4262,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
131
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
895
>>
karate.UseCases.LicensesCommonMethods
186
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
0
757
* def dt = licDate()
0
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
181
18:38:08.888 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13809
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Length: 1103
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":1,"percentageOfOwners":20,"isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T18:38:08.887Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115183808","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T18:38:08.887Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
18:38:09.068 response time in milliseconds: 180
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:05 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3239,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5504,"firstName":"Automation20221115183808","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29193,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25111,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
132
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
816
>>
karate.UseCases.LicensesCommonMethods
184
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
181
18:38:09.720 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13809
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
18:38:09.894 response time in milliseconds: 174
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:07 GMT
true
794
Then status 200
0
795
And def serverResponse = response
0
133
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
2790
>>
karate.UseCases.LicensesCommonMethods
2060
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
2
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
1
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
242
18:38:10.629 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13809
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:10.869 response time in milliseconds: 240
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:07 GMT
1 < Content-Length: 658
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219020","applicationTypeId":1,"appFeesId":0,"appId":13809,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
18:38:10.873 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
154
18:38:10.874 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13809,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13809,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13809,"createdBy":"Tarun Gupta"}
18:38:11.027 response time in milliseconds: 153
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:08:08 GMT
2 < Content-Length: 5
false
862
Then status 200
0
863
And print response
0
18:38:11.028 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
875
When method post
226
18:38:11.031 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13809/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13809,"slaintakeDate":"2022-11-15T18:38:10.628Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:38:10.628Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219020","applicationTypeId":1,"appFeesId":0,"appId":13809,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:38:10.622Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13809,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13809,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13809,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13809,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13809,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13809,"createdBy":"Tarun Gupta"},"taskId":null}
18:38:11.255 response time in milliseconds: 224
3 < 200
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:08:08 GMT
3 < Content-Length: 4
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
159
18:38:11.257 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13809
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
18:38:11.414 response time in milliseconds: 157
4 < 200
4 < Content-Length: 442
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 13:08:08 GMT
[{"checkDetailId":2304,"appId":13809,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T08:08:08.493","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
1
884
And print checkDetailId
0
18:38:11.415 [print] 2304
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
18:38:11.416 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
2
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
920
When method post
247
18:38:11.421 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13809/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13809,"slaintakeDate":"2022-11-15T18:38:11.419Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:38:11.419Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219020","applicationTypeId":1,"appFeesId":0,"appId":13809,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:38:10.622Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13809,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13809,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13809,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13809,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13809,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13809,"createdBy":"Tarun Gupta"},"taskId":null}
18:38:11.667 response time in milliseconds: 246
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 13:08:08 GMT
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
299
18:38:11.671 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13809,"formID":1165,"applicationID":"NA-0111-22-219020","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:38:11.968 response time in milliseconds: 297
6 < 200
6 < Content-Length: 51
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 13:08:08 GMT
{"appId":13809,"applicationId":"NA-0111-22-219020"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
210
18:38:11.970 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13809
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
18:38:12.179 response time in milliseconds: 209
7 < 200
7 < Content-Length: 660
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 13:08:09 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219020","applicationTypeId":1,"appFeesId":3041,"appId":13809,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
0
18:38:12.180 [print] 3041
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
18:38:12.180 [print] 3041
946
And print feesRefId1
0
18:38:12.180 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
18:38:12.180 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
18:38:12.181 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
18:38:12.181 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
18:38:12.181 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
238
18:38:12.183 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13809/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2304,"appId":13809,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:38:11.419Z","slaintakeDate":"2022-11-15T18:38:11.419Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:38:11.419Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219020","applicationTypeId":1,"appFeesId":6039,"appId":13809,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13809,"checkDetailId":2304,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T18:38:10.622Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13809,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13809,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13809,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13809,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13809,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13809,"createdBy":"Tarun Gupta"},"taskId":null}
18:38:12.419 response time in milliseconds: 236
8 < 200
8 < Content-Length: 4
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 13:08:09 GMT
true
972
Then status 200
0
973
And print response
0
18:38:12.419 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
262
18:38:12.423 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13809,"formID":1165,"applicationID":"NA-0111-22-219020","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:38:12.682 response time in milliseconds: 259
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 13:08:09 GMT
{"appId":13809,"applicationId":"NA-0111-22-219020"}
982
Then status 200
0
983
And def serverResponse = response
0
134
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
1933
>>
karate.UseCases.LicensesCommonMethods
1429
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
271
18:38:13.196 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13809,"wfType":null}
18:38:13.466 response time in milliseconds: 270
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:10 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13809,"applicationId":"NA-0111-22-219020","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1154
>>
karate.UseCases.LicensesCommonMethods
437
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
279
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
153
18:38:14.463 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13809
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:14.616 response time in milliseconds: 153
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:11 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-219020","submitDate":"2022-11-15T08:08:10.62","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:38:14.617 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
135
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'IntakeComplete'}
696
>>
karate.UseCases.LicensesCommonMethods
241
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
233
18:38:15.083 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219020"}]
18:38:15.315 response time in milliseconds: 232
1 < 200
1 < Content-Length: 633
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:11 GMT
{"data":[{"acaId":13809,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183807Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":null,"premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219020","licenseId":null,"wfRoleId":2,"applicationStatus":"IntakeComplete","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
18:38:15.316 [print] {
"data": [
{
"acaId": 13809,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183807Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": null,
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219020",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "IntakeComplete",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
0
136
* call read('LicensesCommonMethods.feature@SearchLicenseApplicationByCriteria') {expLicStatus:'Awaiting Review'}
975
>>
karate.UseCases.LicensesCommonMethods
324
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1759
Given path '/internalapi/api/licensing/search/searchLicenseApplicationByCriteria'
0
1760
And header Content-Type = 'application/json; charset=utf-8'
0
1761
And header Accept = 'application/json; text/plain;*/*'
0
1762
And header authorization = 'Bearer ' + strToken
0
1763
And request {"WfTaskIdList":[],"LicenseStatusList":[],"Status":null,"isTempPermit":null,"ApplicationId":'#(ApplicationId)',"LicensePermitId":null,"LegalName":null,"FEIN":null}
0
1765
When method post
322
18:38:15.970 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/search/searchLicenseApplicationByCriteria
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Length: 164
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"WfTaskIdList":[],"LicenseStatusList":[],"Status":null,"isTempPermit":null,"ApplicationId":"NA-0111-22-219020","LicensePermitId":null,"LegalName":null,"FEIN":null}
18:38:16.292 response time in milliseconds: 322
1 < 200
1 < Content-Length: 720
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:13 GMT
{"apps":[{"appId":13809,"applicationId":"NA-0111-22-219020","licensePermitId":"","legalName":"Automation20221115183807Automation","fein":null,"status":"IntakeComplete","taskStatus":"Awaiting Review","taskId":1019,"submitDate":"2022-11-15T08:08:10.62","expirationDate":null,"description":"Restaurant-Beer","priority":"Normal","modifiedDate":"2022-11-15T08:08:10.62","isDisapprovedForCause":false,"appStatusId":2,"isActive":true,"premisesId":13123,"addressLine":"Address1, Address2","city":"New York","state":"New York","zipCode":"12345","county":"New York","country":"United States (US)","formId":1165,"isApplication":true,"isPermit":false,"expiryDate":null,"associateApps":[],"apps":[],"totalRecord":0}],"totalRecord":1}
1766
Then status 200
0
1768
* match response.apps[0].taskStatus == expLicStatus
0
137
* call read('LicensesCommonMethods.feature@IsPaymentFailedScenario') {dueDateCount:10,expStatus:'Awaiting Additional Funds'}
1993
>>
karate.UseCases.LicensesCommonMethods
1446
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1213
* eval if(dueDateCount > 0 ) fundDueDate = fundDueDateFunc(dueDateCount)
2
1215
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1224
* def date = getDate2()
0
1227
Given path '/internalapi/api/licensing/app/save'
0
1228
And header authorization = 'Bearer ' + strToken
0
1229
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
1230
When method post
249
18:38:16.844 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 30721
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13809,"formID":1165,"applicationID":"NA-0111-22-219020","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:38:17.091 response time in milliseconds: 246
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:13 GMT
1 < Content-Length: 51
{"appId":13809,"applicationId":"NA-0111-22-219020"}
1231
Then status 200
0
1232
And def serverResponse = response
0
1233
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/true'
0
1234
And header Content-Type = 'application/json; charset=utf-8'
0
1235
And header Accept = 'application/json; text/plain;*/*'
0
1236
And header authorization = 'Bearer ' + strToken
0
1237
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"isPaymentFailed":true,"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":'#(licAncillaryFees1)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":1026}
1
1238
When method post
276
18:38:17.093 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13809/true
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
2 > Content-Length: 5295
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2304,"appId":13809,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:38:16.841Z","slaintakeDate":"2022-11-15T18:38:16.841Z","amount":1060.0,"isPaymentFailed":true,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:38:16.841Z","modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219020","applicationTypeId":1,"appFeesId":6039,"appId":13809,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-25T18:38:16.839Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13809,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13809,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13809,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13809,"createdBy":"Tarun Gupta"},"taskId":1026}
18:38:17.368 response time in milliseconds: 275
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:08:14 GMT
true
1239
Then status 200
0
1240
And print response
1
18:38:17.369 [print] true
1241
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
914
>>
karate.UseCases.LicensesCommonMethods
378
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
214
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
158
18:38:18.114 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13809
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:18.271 response time in milliseconds: 157
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:14 GMT
1 < Content-Length: 225
{"applicationId":"NA-0111-22-219020","submitDate":"2022-11-15T08:08:10.62","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Additional Funds"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:38:18.272 [print] Awaiting Additional Funds
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
138
* def fundDueDate1 = fundDueDateFunc1(10)
1
139
* call read('LicensesCommonMethods.feature@GetAndValidateDueDateForLicense') {licAction:'Payment Failed',appStatus:'Awaiting Additional Funds',dueDate:'#(fundDueDate1)'}
727
>>
karate.UseCases.LicensesCommonMethods
169
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1773
Given path '/internalapi/api/licensing/new-license/getDueDates/'+appId
0
1774
And header authorization = 'Bearer ' + strToken
0
1775
And header Content-Type = 'application/json; charset=utf-8'
0
1776
And header Accept = 'application/json; text/plain;*/*'
0
1777
And request ""
0
1778
When method get
161
18:38:18.850 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/new-license/getDueDates/13809
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:38:19.009 response time in milliseconds: 159
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:16 GMT
1 < Content-Length: 312
[{"action":"Deficiencies Defined","applicationStatus":"N/A","dueDate":null,"remainingDays":0},{"action":"Payment Failed","applicationStatus":"Awaiting Additional Funds","dueDate":"2022-11-25T00:00:00","remainingDays":10},{"action":"Conditions Defined","applicationStatus":"N/A","dueDate":null,"remainingDays":0}]
1779
Then status 200
0
1780
And print response
1
18:38:19.010 [print] [
{
"action": "Deficiencies Defined",
"applicationStatus": "N/A",
"dueDate": null,
"remainingDays": 0
},
{
"action": "Payment Failed",
"applicationStatus": "Awaiting Additional Funds",
"dueDate": "2022-11-25T00:00:00",
"remainingDays": 10
},
{
"action": "Conditions Defined",
"applicationStatus": "N/A",
"dueDate": null,
"remainingDays": 0
}
]
1782
And def reslicAction = response[1].action
0
1783
And def resAppStatus = response[1].applicationStatus
0
1784
And def resAppDueDate = response[1].dueDate
0
1785
And print reslicAction
0
18:38:19.011 [print] Payment Failed
1786
And print resAppStatus
0
18:38:19.011 [print] Awaiting Additional Funds
1788
And print resAppDueDate
0
18:38:19.011 [print] 2022-11-25T00:00:00
1789
* match reslicAction == licAction
0
1790
* match resAppStatus == appStatus
0
1791
* match resAppDueDate contains dueDate
0
169
* def extendedDueDate = fundDueDateFunc1(10)
1
170
And print extendedDueDate
0
18:38:19.019 [print] 2022-11-25
171
* def approvedStatus = true
0
172
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension2'){}
1002
>>
karate.UseCases.LicensesCommonMethods
571
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Approve Due Date *********************
2311
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2312
And header authorization = 'Bearer ' + strToken
0
2313
And request ''
0
2314
When method get
151
18:38:19.448 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/13809/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:38:19.598 response time in milliseconds: 150
1 < 200
1 < Content-Length: 1959
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:16 GMT
{"applicant":{"communicationId":25109,"email":"automation@svam.com","appId":13809,"emailContactTypeId":1,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25112,"email":"sbandi@svam.com","appId":13809,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2315
Then status 200
0
2316
And def serverResponse = response
0
2317
* def applicantCommId = serverResponse.applicant.communicationId
0
2318
* def attorneyCommId = serverResponse.attorney.communicationId
0
2320
Given path '/internalapi/api/licensing/duedate-extension/save'
0
2321
And header authorization = 'Bearer ' + strToken
0
2322
And header current-wfroleid = '3'
0
2323
And print extendedDueDate
0
18:38:19.599 [print] 2022-11-25
2324
And request {"extendtoDate":'#(extendedDueDate)',"decision":'#(approvedStatus)',"appId":'#(appId)',"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":'#(applicantCommId)',"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":'#(attorneyCommId)',"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
0
#{"extendtoDate":"2022-10-24T14:25:56.000Z","decision":true,"appId":9038,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}}}
#{"extendtoDate":"2022-10-29 ","decision":true,"appId":9038,"taskId":1304,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
2327
When method post
242
18:38:19.601 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
2 > current-wfroleid: 3
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 1622
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"extendtoDate":"2022-11-25","decision":true,"appId":13809,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":25109,"email":"automation@svam.com","appId":13809,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25112,"email":"sbandi@svam.com","appId":13809,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
18:38:19.841 response time in milliseconds: 240
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:08:16 GMT
true
2328
Then status 200
0
2329
And def serverResponse = response
0
2330
And print serverResponse
0
18:38:19.842 [print] true
2331
* match serverResponse == 'true'
0
2332
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2333
And header authorization = 'Bearer ' + strToken
0
2334
And request ''
0
2335
When method get
173
18:38:19.844 request:
3 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13809
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNGY3MmI1OWItMjNiOC00YjQ3LTk5MTQtNDk1NmE5NWQ2YmY0IiwiZXhwIjoxNjY4NTQ2NDgwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.4pkDIPJfIqq04ZllMrU63s8HihSd7LyCFSmYKl_zZAA
3 > Content-Type: text/plain; charset=UTF-8
3 > Content-Length: 0
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
18:38:20.016 response time in milliseconds: 172
3 < 200
3 < Content-Length: 465
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:08:17 GMT
{"existingData":[{"applicationDueDateID":0,"appId":13809,"statusID":2,"decision":true,"currentDueDate":"2022-11-25T00:00:00","pastDueDate":null,"extendtoDate":null,"status":"Awaiting Additional Funds","userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2336
Then status 200
0
2337
And def serverResponse = response
0
2338
* match serverResponse.existingData[0].currentDueDate contains extendedDueDate
0
Scenario: [3.1:254]
TC0007_NYS_SLA_Deficiency_Due_Date_Extension_Disapproved
ms: 24481
>>
Background:
3
* url BaseURL
0
18:38:20.081 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
30
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
66
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
184
* def IndOrgSelectionDropDown = 'Individual'
0
185
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
186
And print indOrgCode
0
18:38:20.112 [print] 1
187
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
188
* def CorporateStructureDropDown = 'Individual'
0
189
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
190
And print CorporateStructureDropDownCode
0
18:38:20.113 [print] 1
191
* def firstName = 'Automation'
0
192
* def lastName = 'Automation'
0
193
* def legalName = firstName+ ' '+lastName
0
194
* def Address1 = 'Address1'
0
195
* def Address2 = 'Address2'
0
196
* def CityName = 'New York'
0
197
* def zipCode = '12345'
0
198
* def postalCode = '1234'
0
199
* def countryName = 'United States (US)'
0
200
* def emailId = 'automation@svam.com'
0
201
* def convictedOfCrime = 1
0
202
* def percentageOfOwners = 20
0
203
* def isFingerprintRequired = true
0
204
* def isFingerprintsApproved = true
0
205
* def isSignature = false
0
207
* def convictedOfCrime = 1
0
208
* def PhoneNumber = '999-999-9999'
0
209
* def PhoneExtn = 1234
0
210
* def countryCode = '+91'
0
211
* def stateCode = 40
0
213
* def mainLicensePermitTypeId = 40
0
214
* def termInYears = 3
0
215
* def termDesc = 3+' Year (s)'
0
216
* def licenseFees = 960
0
217
* def fillingFees = 100
0
218
* def licAncillaryFees = 1000
0
219
* def renewalFees = 30+''
0
220
* string productName = 'RestaurantBeer'+''
0
222
* def CountyId = 12
0
223
* def CountyName = 'New York'
0
224
* def totalFees = licenseFees+fillingFees
0
225
* def splittedCityName = CityName.replaceAll(" ","")
0
228
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
2118
>>
karate.UseCases.LicensesCommonMethods
1513
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
915
>>
karate.UseCases.LicensesCommonMethods
461
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
287
119
And header authorization = 'Bearer ' + strToken
1
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
170
18:38:21.431 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:21.600 response time in milliseconds: 169
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:18 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
1
292
* def countyZone = countyData[0].ZoneNo
0
293
And print countyZone
0
18:38:21.620 [print] 2
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
172
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
150
18:38:21.793 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 328
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":12,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
18:38:21.942 response time in milliseconds: 149
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:18 GMT
1 < Content-Length: 234
[{"childAppId":null,"mainApplicationId":"NA-0111-22-219021","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-219021","parentAppId":13810,"appId":13810,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
0
316
And print ApplicationId
0
18:38:21.943 [print] NA-0111-22-219021
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
1
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
124
330
And header authorization = 'Bearer ' + strToken
0
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
144
18:38:22.071 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13810
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
18:38:22.214 response time in milliseconds: 143
2 < 200
2 < Content-Length: 185
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:08:18 GMT
{"applicationId":"NA-0111-22-219021","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
0
18:38:22.215 [print] Draft
340
And match licStatus == 'Draft'
0
229
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
773
>>
karate.UseCases.LicensesCommonMethods
183
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
179
18:38:22.813 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13810
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115183822","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115183822Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
18:38:22.990 response time in milliseconds: 177
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:20 GMT
1 < Content-Length: 2190
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":3959,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115183822","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115183822Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29195,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25113,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7718,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13124,"dba":null,"countyId":12,"countyName":"Albany","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29196,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25114,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7719,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9716,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4263,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
230
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
863
>>
karate.UseCases.LicensesCommonMethods
226
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
0
757
* def dt = licDate()
0
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
219
18:38:23.632 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13810
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 1103
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":1,"percentageOfOwners":20,"isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T18:38:23.632Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115183823","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T18:38:23.632Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
18:38:23.851 response time in milliseconds: 219
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:20 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3240,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5506,"firstName":"Automation20221115183823","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29197,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25115,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
231
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
788
>>
karate.UseCases.LicensesCommonMethods
161
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
156
18:38:24.495 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13810
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
18:38:24.649 response time in milliseconds: 154
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:21 GMT
1 < Content-Length: 4
true
794
Then status 200
0
795
And def serverResponse = response
0
232
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
2546
>>
karate.UseCases.LicensesCommonMethods
2041
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
1
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
0
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
232
18:38:25.155 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13810
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:25.385 response time in milliseconds: 230
1 < 200
1 < Content-Length: 658
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:21 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219021","applicationTypeId":1,"appFeesId":0,"appId":13810,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
18:38:25.389 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
185
18:38:25.390 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13810,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13810,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13810,"createdBy":"Tarun Gupta"}
18:38:25.574 response time in milliseconds: 184
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:08:21 GMT
false
862
Then status 200
0
863
And print response
0
18:38:25.575 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
875
When method post
218
18:38:25.578 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13810/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13810,"slaintakeDate":"2022-11-15T18:38:25.154Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:38:25.154Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219021","applicationTypeId":1,"appFeesId":0,"appId":13810,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:38:25.151Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13810,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13810,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13810,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13810,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13810,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13810,"createdBy":"Tarun Gupta"},"taskId":null}
18:38:25.795 response time in milliseconds: 216
3 < 200
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:08:23 GMT
3 < Content-Length: 4
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
160
18:38:25.797 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13810
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
18:38:25.954 response time in milliseconds: 157
4 < 200
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 13:08:23 GMT
4 < Content-Length: 442
[{"checkDetailId":2305,"appId":13810,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T08:08:23.037","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
0
884
And print checkDetailId
0
18:38:25.955 [print] 2305
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
18:38:25.956 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
2
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
920
When method post
208
18:38:25.961 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13810/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13810,"slaintakeDate":"2022-11-15T18:38:25.959Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:38:25.959Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219021","applicationTypeId":1,"appFeesId":0,"appId":13810,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:38:25.151Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13810,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13810,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13810,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13810,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13810,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13810,"createdBy":"Tarun Gupta"},"taskId":null}
18:38:26.169 response time in milliseconds: 207
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 13:08:23 GMT
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
271
18:38:26.173 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13810,"formID":1165,"applicationID":"NA-0111-22-219021","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:38:26.441 response time in milliseconds: 268
6 < 200
6 < Content-Length: 51
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 13:08:23 GMT
{"appId":13810,"applicationId":"NA-0111-22-219021"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
219
18:38:26.443 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13810
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
18:38:26.662 response time in milliseconds: 218
7 < 200
7 < Content-Length: 660
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 13:08:23 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219021","applicationTypeId":1,"appFeesId":3042,"appId":13810,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
1
18:38:26.663 [print] 3042
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
18:38:26.663 [print] 3042
946
And print feesRefId1
0
18:38:26.663 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
18:38:26.664 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
1
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
18:38:26.666 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
18:38:26.666 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
18:38:26.666 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
254
18:38:26.667 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13810/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2305,"appId":13810,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:38:25.959Z","slaintakeDate":"2022-11-15T18:38:25.959Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:38:25.959Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219021","applicationTypeId":1,"appFeesId":6039,"appId":13810,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13810,"checkDetailId":2305,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T18:38:25.151Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13810,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13810,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13810,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13810,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13810,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13810,"createdBy":"Tarun Gupta"},"taskId":null}
18:38:26.921 response time in milliseconds: 254
8 < 200
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 13:08:24 GMT
8 < Content-Length: 4
true
972
Then status 200
0
973
And print response
0
18:38:26.921 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
272
18:38:26.926 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13810,"formID":1165,"applicationID":"NA-0111-22-219021","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:38:27.194 response time in milliseconds: 268
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 13:08:24 GMT
{"appId":13810,"applicationId":"NA-0111-22-219021"}
982
Then status 200
0
983
And def serverResponse = response
0
233
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
5210
>>
karate.UseCases.LicensesCommonMethods
4504
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
267
18:38:27.907 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13810,"wfType":null}
18:38:28.174 response time in milliseconds: 267
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:25 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13810,"applicationId":"NA-0111-22-219021","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
4234
>>
karate.UseCases.LicensesCommonMethods
1903
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
1745
1196
And header authorization = 'Bearer ' + strToken
1
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
150
18:38:32.254 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13810
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:32.403 response time in milliseconds: 149
1 < 200
1 < Content-Length: 215
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:29 GMT
{"applicationId":"NA-0111-22-219021","submitDate":"2022-11-15T08:08:25.33","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:38:32.404 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
234
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'IntakeComplete'}
1453
>>
karate.UseCases.LicensesCommonMethods
222
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
4
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
212
18:38:33.650 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219021"}]
18:38:33.860 response time in milliseconds: 210
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:31 GMT
1 < Content-Length: 633
{"data":[{"acaId":13810,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183822Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":null,"premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219021","licenseId":null,"wfRoleId":2,"applicationStatus":"IntakeComplete","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
18:38:33.861 [print] {
"data": [
{
"acaId": 13810,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183822Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": null,
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219021",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "IntakeComplete",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
0
235
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
4623
>>
karate.UseCases.LicensesCommonMethods
3287
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
228
18:38:35.204 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":13810,"examinerId":1069,"priority":"Normal"}]
18:38:35.430 response time in milliseconds: 225
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:32 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
3054
>>
karate.UseCases.LicensesCommonMethods
689
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
1
1195
* def dbSts = db.cleanHeap()
526
1196
And header authorization = 'Bearer ' + strToken
4
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
149
18:38:38.332 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13810
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:38.480 response time in milliseconds: 148
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:35 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-219021","submitDate":"2022-11-15T08:08:25.33","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:38:38.481 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
237
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
648
>>
karate.UseCases.LicensesCommonMethods
191
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
186
18:38:38.947 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219021"}]
18:38:39.132 response time in milliseconds: 185
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:35 GMT
1 < Content-Length: 641
{"data":[{"acaId":13810,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183822Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219021","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
18:38:39.132 [print] {
"data": [
{
"acaId": 13810,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183822Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219021",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
238
* call read('LicensesCommonMethods.feature@ExaminerReviewApprovalWithAllDefineDeficiencies') {expStatus:'Additional Info Required'}
2214
>>
karate.UseCases.LicensesCommonMethods
1749
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* ExaminerReviewApprovalWithAllDefineDeficiencies *********************
4766
* def summisionDate =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
4774
Given path '/internalapi/api/application/'+appId
0
4775
* def dbSts = db.cleanHeap()
137
4776
And header authorization = 'Bearer ' + strToken
0
4777
And header Content-Type = 'application/json; charset=utf-8'
0
4778
And header Accept = 'application/json; text/plain;*/*'
0
4779
And configure continueOnStepFailure = true
0
4780
And request {}
0
4781
When method get
194
18:38:39.743 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/13810
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:39.932 response time in milliseconds: 189
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:37 GMT
1 < Content-Length: 2492
{"applicationCategory":1,"appId":13810,"applicationId":"NA-0111-22-219021","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1712,"formId":1165,"legalName":"Automation20221115183822Automation","submitDate":"2022-11-15T08:08:25.33","isGISRequired":false,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"11/22/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2679,"appId":13810,"examinerId":1069,"name":null,"assignDate":"2022-11-15T08:08:32.617","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T08:08:32.617"}
4782
* configure continueOnStepFailure = true
0
4783
Then status 200
0
4784
And def formVerID = response.formVersionId
0
4785
And print formVerID
0
18:38:39.933 [print] 1712
4786
And def formId = response.formId
0
4787
And print formId
0
18:38:39.933 [print] 1165
4788
And def legalName = response.legalName
0
4789
And print legalName
0
18:38:39.933 [print] Automation20221115183822Automation
4790
And def submitDate = response.submitDate
0
4791
And print submitDate
0
18:38:39.934 [print] 2022-11-15T08:08:25.33
4793
And def pastDueDate = response.pastDueDate
0
4794
And print pastDueDate
0
18:38:39.934 [print] 11/22/2022 12:00:00 AM
4796
And def appExaminerId = response.assignAppExaminer.appExaminerId
0
4797
And print appExaminerId
0
18:38:39.934 [print] 2679
4798
And def examinerId = response.assignAppExaminer.examinerId
0
4799
And print examinerId
0
18:38:39.934 [print] 1069
4800
And def assignDate = response.assignAppExaminer.assignDate
0
4801
And print assignDate
0
18:38:39.934 [print] 2022-11-15T08:08:32.617
4802
And def licPermitTypeId = response.licePermitType.licPermitTypeId
0
4803
And print licPermitTypeId
0
18:38:39.934 [print] 40
4804
And def type = response.licePermitType.type
0
4805
And print type
0
18:38:39.934 [print] 1
4806
And def category = response.licePermitType.category
0
4807
And print category
0
18:38:39.934 [print] 1
4808
And def product = response.licePermitType.product
0
4809
And print product
0
18:38:39.934 [print] Beer
4810
Given path '/internalapi/api/licensing/examiner-review/SaveNewLicense'
0
4811
* def formatedSumbitDate = summisionDate()
1
4812
And header authorization = 'Bearer ' + strToken
0
4813
And header current-wfroleid = 4
0
4814
And request {"isFingerPrintsApproved":true,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":3,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":'#(formVersionId)',"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":false,"isAllDeficienciesMet":null,"pastDueDate":"1/1/1970 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":'#(appExaminerId)',"appId":'#(appId)',"examinerId":'#(examinerId)',"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"3","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Define Deficiencies","value":1},"emailNotificationModel":{"applicant":{"communicationId":64788,"email":"Automation@test.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":64791,"email":"Automation@test.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"notificationTypeId":2028,"isInstantEmail":false},"hasErrors":[],"taskId":1026,"newComments":"DefineDeficiencies Desc","erDeficiencies":{"selectInput":{"fromFields":[{"id":4,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP"},{"id":6,"label":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Premises address does not match the address listed on lease."},{"id":10,"label":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. "},{"id":15,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord name must be the name shown on the deed."},{"id":17,"label":"All principals of the landlord entity must be listed."},{"id":18,"label":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Provide a personal questionnaire for __________________."},{"id":26,"label":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Amend the diagram to include the food prep area"},{"id":33,"label":"Provide a diagram of the basement"},{"id":34,"label":"Provide a block plot diagram"},{"id":35,"label":"Add the outside area to the diagram "},{"id":36,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Submit a copy of the menu."},{"id":42,"label":"Provide proof of citizenship for _________________."},{"id":43,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"______________________ needs to be fingerprinted. "},{"id":123,"label":"Additional Funds Required"},{"id":129,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"id":130,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide your federal tax identification number."},{"id":132,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":134,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"id":135,"label":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB permit."},{"id":140,"label":"Surrender of the current license in effect."},{"id":141,"label":"Make the edits listed below to the curriculum."},{"id":142,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Remove the following content from the applicants' website:"},{"id":156,"label":"Provide the legal name of the applicant."},{"id":157,"label":"Provide the mailing address of the applicant."},{"id":158,"label":"Provide the federal id number of the applicant."},{"id":159,"label":"Provide the applicant's contact phone number."},{"id":160,"label":"Provide the applicant's email address."},{"id":161,"label":"Provide the director's name."},{"id":162,"label":"Provide the director's phone number."},{"id":163,"label":"Provide the director's email address."},{"id":164,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."}],"toFields":[{"id":-1,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt.","originalId":4},{"id":-2,"label":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP","originalId":5},{"id":-3,"label":"Provide a copy of the corporate minutes for the applicant entity","originalId":6},{"id":-4,"label":"Provide a copy of the LLC operating agreement for the applicant entity","originalId":7},{"id":-5,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership.","originalId":8},{"id":-6,"label":"Premises address does not match the address listed on lease.","originalId":9},{"id":-7,"label":"Premises address does not match the address listed on the bill of sale.","originalId":10},{"id":-8,"label":"Premises address does not match the address listed on the deed.","originalId":11},{"id":-9,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address).","originalId":12},{"id":-10,"label":"Submit a Notice of Appearance or the attorney or representative.","originalId":13},{"id":-11,"label":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. ","originalId":14},{"id":-12,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). ","originalId":15},{"id":-13,"label":"Landlord name must be the name shown on the deed.","originalId":16},{"id":-14,"label":"All principals of the landlord entity must be listed.","originalId":17},{"id":-15,"label":"To verify ownership, submit a copy of the deed.","originalId":18},{"id":-16,"label":"The source of ALL funds (cash and borrowed) must be listed on this form.","originalId":19},{"id":-17,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended.","originalId":20},{"id":-18,"label":"Submit a copy of all executed loan agreements. ","originalId":21},{"id":-19,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment.","originalId":22},{"id":-20,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license.","originalId":23},{"id":-21,"label":"Please complete the Statement of Area Plan form","originalId":24},{"id":-22,"label":"Provide a personal questionnaire for __________________.","originalId":25},{"id":-23,"label":"Please list gender on _________'s personal questionnaire.","originalId":26},{"id":-24,"label":"Provide residence addresses for the last 5 consecutive years.","originalId":27},{"id":-25,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":28},{"id":-26,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","originalId":29},{"id":-27,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":30},{"id":-28,"label":"Amend the diagram labeling all rooms and bars","originalId":31},{"id":-29,"label":"Amend the diagram to include the food prep area","originalId":32},{"id":-30,"label":"Provide a diagram of the basement","originalId":33},{"id":-31,"label":"Provide a block plot diagram","originalId":34},{"id":-32,"label":"Add the outside area to the diagram ","originalId":35},{"id":-33,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo.","originalId":36},{"id":-34,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo.","originalId":37},{"id":-35,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos.","originalId":38},{"id":-36,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":39},{"id":-37,"label":"Provide a copy of ____________'s photo identification.","originalId":40},{"id":-38,"label":"Submit a copy of the menu.","originalId":41},{"id":-39,"label":"Provide proof of citizenship for _________________.","originalId":42},{"id":-40,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment.","originalId":43},{"id":-41,"label":"Submit a copy of the maximum occupancy certificate.","originalId":44},{"id":-42,"label":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-43,"label":"Additional Funds Required","originalId":123},{"id":-44,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","originalId":129},{"id":-45,"label":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-46,"label":"Provide your federal tax identification number.","originalId":131},{"id":-47,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-48,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","originalId":133},{"id":-49,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","originalId":134},{"id":-50,"label":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-51,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-52,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-53,"label":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-54,"label":"Provide your TTB permit.","originalId":139},{"id":-55,"label":"Surrender of the current license in effect.","originalId":140},{"id":-56,"label":"Make the edits listed below to the curriculum.","originalId":141},{"id":-57,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law.","originalId":142},{"id":-58,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65).","originalId":143},{"id":-59,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only).","originalId":144},{"id":-60,"label":"The licensee's and server's responsibility to reasonably supervise the premises.","originalId":145},{"id":-61,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification.","originalId":146},{"id":-62,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age.","originalId":147},{"id":-63,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2).","originalId":148},{"id":-64,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected.","originalId":149},{"id":-65,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained.","originalId":150},{"id":-66,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20).","originalId":151},{"id":-67,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101).","originalId":152},{"id":-68,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives).","originalId":153},{"id":-69,"label":"Provide the New York State Liquor Authority with access to the online course for review.","originalId":154},{"id":-70,"label":"Remove the following content from the applicants' website:","originalId":155},{"id":-71,"label":"Provide the legal name of the applicant.","originalId":156},{"id":-72,"label":"Provide the mailing address of the applicant.","originalId":157},{"id":-73,"label":"Provide the federal id number of the applicant.","originalId":158},{"id":-74,"label":"Provide the applicant's contact phone number.","originalId":159},{"id":-75,"label":"Provide the applicant's email address.","originalId":160},{"id":-76,"label":"Provide the director's name.","originalId":161},{"id":-77,"label":"Provide the director's phone number.","originalId":162},{"id":-78,"label":"Provide the director's email address.","originalId":163},{"id":-79,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats.","originalId":164}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}}}
1
# And request {"isFingerPrintsApproved":true,"isFingerPrintsRequired":true,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":'#(formVerID)',"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"8/12/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":'#(appExaminerId)',"appId":'#(appId)',"examinerId":'#(examinerId)',"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"1","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Define Deficiencies","value":1},"emailNotificationModel":{"applicant":{"communicationId":14595,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":14598,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"notificationTypeId":2028,"isInstantEmail":false},"hasErrors":[],"taskId":1026,"erDeficiencies":{"selectInput":{"fromFields":[{"id":4,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP"},{"id":6,"label":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Premises address does not match the address listed on lease."},{"id":10,"label":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. "},{"id":15,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord name must be the name shown on the deed."},{"id":17,"label":"All principals of the landlord entity must be listed."},{"id":18,"label":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Provide a personal questionnaire for __________________."},{"id":26,"label":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Amend the diagram to include the food prep area"},{"id":33,"label":"Provide a diagram of the basement"},{"id":34,"label":"Provide a block plot diagram"},{"id":35,"label":"Add the outside area to the diagram "},{"id":36,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Submit a copy of the menu."},{"id":42,"label":"Provide proof of citizenship for _________________."},{"id":43,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"______________________ needs to be fingerprinted. "},{"id":123,"label":"Additional Funds Required"},{"id":129,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"id":130,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide your federal tax identification number."},{"id":132,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":134,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"id":135,"label":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB permit."},{"id":140,"label":"Surrender of the current license in effect."},{"id":141,"label":"Make the edits listed below to the curriculum."},{"id":142,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Remove the following content from the applicants' website:"},{"id":156,"label":"Provide the legal name of the applicant."},{"id":157,"label":"Provide the mailing address of the applicant."},{"id":158,"label":"Provide the federal id number of the applicant."},{"id":159,"label":"Provide the applicant's contact phone number."},{"id":160,"label":"Provide the applicant's email address."},{"id":161,"label":"Provide the director's name."},{"id":162,"label":"Provide the director's phone number."},{"id":163,"label":"Provide the director's email address."},{"id":164,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."}],"toFields":[{"id":-1,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt.","originalId":4}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}},"newComments":""}
4816
When method post
347
18:38:39.939 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewLicense
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
2 > current-wfroleid: 4
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 25289
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":true,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":3,"appId":13810,"applicationId":"NA-0111-22-219021","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":"#(formVersionId)","formId":1165,"legalName":"Automation20221115183822Automation","submitDate":"2022-11-15T18:38:39.935","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":false,"isAllDeficienciesMet":null,"pastDueDate":"1\/1\/1970 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2679,"appId":13810,"examinerId":1069,"name":null,"assignDate":"2022-11-15T18:38:39.935","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"3","product":"RestaurantBeer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T18:38:39.935"},"appId":13810,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Define Deficiencies","value":1},"emailNotificationModel":{"applicant":{"communicationId":64788,"email":"Automation@test.com","appId":13810,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":64791,"email":"Automation@test.com","appId":13810,"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13810,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"notificationTypeId":2028,"isInstantEmail":false},"hasErrors":[],"taskId":1026,"newComments":"DefineDeficiencies Desc","erDeficiencies":{"selectInput":{"fromFields":[{"id":4,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Submit a copy of the Secretary of State filing receipt for the corp\/LLC\/LLP"},{"id":6,"label":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Premises address does not match the address listed on lease."},{"id":10,"label":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Entity owning real property does not match applicant name \u2013 A lease between the two parties is required and must be submitted. "},{"id":15,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment\/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord name must be the name shown on the deed."},{"id":17,"label":"All principals of the landlord entity must be listed."},{"id":18,"label":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Provide a personal questionnaire for __________________."},{"id":26,"label":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Amend the diagram to include the food prep area"},{"id":33,"label":"Provide a diagram of the basement"},{"id":34,"label":"Provide a block plot diagram"},{"id":35,"label":"Add the outside area to the diagram "},{"id":36,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Submit a copy of the menu."},{"id":42,"label":"Provide proof of citizenship for _________________."},{"id":43,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"______________________ needs to be fingerprinted. "},{"id":123,"label":"Additional Funds Required"},{"id":129,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"id":130,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide your federal tax identification number."},{"id":132,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"id":134,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"id":135,"label":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB permit."},{"id":140,"label":"Surrender of the current license in effect."},{"id":141,"label":"Make the edits listed below to the curriculum."},{"id":142,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and\/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Remove the following content from the applicants' website:"},{"id":156,"label":"Provide the legal name of the applicant."},{"id":157,"label":"Provide the mailing address of the applicant."},{"id":158,"label":"Provide the federal id number of the applicant."},{"id":159,"label":"Provide the applicant's contact phone number."},{"id":160,"label":"Provide the applicant's email address."},{"id":161,"label":"Provide the director's name."},{"id":162,"label":"Provide the director's phone number."},{"id":163,"label":"Provide the director's email address."},{"id":164,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."}],"toFields":[{"id":-1,"label":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt.","originalId":4},{"id":-2,"label":"Submit a copy of the Secretary of State filing receipt for the corp\/LLC\/LLP","originalId":5},{"id":-3,"label":"Provide a copy of the corporate minutes for the applicant entity","originalId":6},{"id":-4,"label":"Provide a copy of the LLC operating agreement for the applicant entity","originalId":7},{"id":-5,"label":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership.","originalId":8},{"id":-6,"label":"Premises address does not match the address listed on lease.","originalId":9},{"id":-7,"label":"Premises address does not match the address listed on the bill of sale.","originalId":10},{"id":-8,"label":"Premises address does not match the address listed on the deed.","originalId":11},{"id":-9,"label":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address).","originalId":12},{"id":-10,"label":"Submit a Notice of Appearance or the attorney or representative.","originalId":13},{"id":-11,"label":"Entity owning real property does not match applicant name \u2013 A lease between the two parties is required and must be submitted. ","originalId":14},{"id":-12,"label":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment\/rider to the existing one (signed by both landlord and tenant). ","originalId":15},{"id":-13,"label":"Landlord name must be the name shown on the deed.","originalId":16},{"id":-14,"label":"All principals of the landlord entity must be listed.","originalId":17},{"id":-15,"label":"To verify ownership, submit a copy of the deed.","originalId":18},{"id":-16,"label":"The source of ALL funds (cash and borrowed) must be listed on this form.","originalId":19},{"id":-17,"label":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended.","originalId":20},{"id":-18,"label":"Submit a copy of all executed loan agreements. ","originalId":21},{"id":-19,"label":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment.","originalId":22},{"id":-20,"label":"Provide a statement addressing why you believe it would be in the public's interest to issue this license.","originalId":23},{"id":-21,"label":"Please complete the Statement of Area Plan form","originalId":24},{"id":-22,"label":"Provide a personal questionnaire for __________________.","originalId":25},{"id":-23,"label":"Please list gender on _________'s personal questionnaire.","originalId":26},{"id":-24,"label":"Provide residence addresses for the last 5 consecutive years.","originalId":27},{"id":-25,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":28},{"id":-26,"label":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","originalId":29},{"id":-27,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":30},{"id":-28,"label":"Amend the diagram labeling all rooms and bars","originalId":31},{"id":-29,"label":"Amend the diagram to include the food prep area","originalId":32},{"id":-30,"label":"Provide a diagram of the basement","originalId":33},{"id":-31,"label":"Provide a block plot diagram","originalId":34},{"id":-32,"label":"Add the outside area to the diagram ","originalId":35},{"id":-33,"label":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo.","originalId":36},{"id":-34,"label":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo.","originalId":37},{"id":-35,"label":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos.","originalId":38},{"id":-36,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":39},{"id":-37,"label":"Provide a copy of ____________'s photo identification.","originalId":40},{"id":-38,"label":"Submit a copy of the menu.","originalId":41},{"id":-39,"label":"Provide proof of citizenship for _________________.","originalId":42},{"id":-40,"label":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment.","originalId":43},{"id":-41,"label":"Submit a copy of the maximum occupancy certificate.","originalId":44},{"id":-42,"label":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-43,"label":"Additional Funds Required","originalId":123},{"id":-44,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","originalId":129},{"id":-45,"label":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-46,"label":"Provide your federal tax identification number.","originalId":131},{"id":-47,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-48,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","originalId":133},{"id":-49,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","originalId":134},{"id":-50,"label":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-51,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-52,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-53,"label":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-54,"label":"Provide your TTB permit.","originalId":139},{"id":-55,"label":"Surrender of the current license in effect.","originalId":140},{"id":-56,"label":"Make the edits listed below to the curriculum.","originalId":141},{"id":-57,"label":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law.","originalId":142},{"id":-58,"label":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65).","originalId":143},{"id":-59,"label":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only).","originalId":144},{"id":-60,"label":"The licensee's and server's responsibility to reasonably supervise the premises.","originalId":145},{"id":-61,"label":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification.","originalId":146},{"id":-62,"label":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age.","originalId":147},{"id":-63,"label":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2).","originalId":148},{"id":-64,"label":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected.","originalId":149},{"id":-65,"label":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained.","originalId":150},{"id":-66,"label":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20).","originalId":151},{"id":-67,"label":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101).","originalId":152},{"id":-68,"label":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and\/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives).","originalId":153},{"id":-69,"label":"Provide the New York State Liquor Authority with access to the online course for review.","originalId":154},{"id":-70,"label":"Remove the following content from the applicants' website:","originalId":155},{"id":-71,"label":"Provide the legal name of the applicant.","originalId":156},{"id":-72,"label":"Provide the mailing address of the applicant.","originalId":157},{"id":-73,"label":"Provide the federal id number of the applicant.","originalId":158},{"id":-74,"label":"Provide the applicant's contact phone number.","originalId":159},{"id":-75,"label":"Provide the applicant's email address.","originalId":160},{"id":-76,"label":"Provide the director's name.","originalId":161},{"id":-77,"label":"Provide the director's phone number.","originalId":162},{"id":-78,"label":"Provide the director's email address.","originalId":163},{"id":-79,"label":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats.","originalId":164}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}}}
18:38:40.283 response time in milliseconds: 344
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:08:37 GMT
true
4817
Then status 200
0
4818
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1063
>>
karate.UseCases.LicensesCommonMethods
486
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
335
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
146
18:38:41.199 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13810
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:41.342 response time in milliseconds: 143
1 < 200
1 < Content-Length: 224
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:38 GMT
{"applicationId":"NA-0111-22-219021","submitDate":"2022-11-15T08:08:25.33","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Additional Info Required"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:38:41.343 [print] Additional Info Required
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
239
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
648
>>
karate.UseCases.LicensesCommonMethods
164
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
159
18:38:41.834 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219021"}]
18:38:41.992 response time in milliseconds: 158
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:38 GMT
1 < Content-Length: 641
{"data":[{"acaId":13810,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183822Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219021","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
18:38:41.993 [print] {
"data": [
{
"acaId": 13810,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183822Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219021",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
240
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {expStatus:'Additional Info Required'}
786
>>
karate.UseCases.LicensesCommonMethods
329
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
120
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
205
18:38:42.570 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13810
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:42.774 response time in milliseconds: 204
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:40 GMT
1 < Content-Length: 224
{"applicationId":"NA-0111-22-219021","submitDate":"2022-11-15T08:08:25.33","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Additional Info Required"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:38:42.775 [print] Additional Info Required
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
242
* call read('LicensesCommonMethods.feature@getDueDateExtension'){}
781
>>
karate.UseCases.LicensesCommonMethods
184
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
4
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
2257
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2258
And header authorization = 'Bearer ' + strToken
0
2259
And request ''
0
2260
When method get
176
18:38:43.382 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13810
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:38:43.557 response time in milliseconds: 175
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:40 GMT
1 < Content-Length: 425
{"existingData":[{"applicationDueDateID":0,"appId":13810,"statusID":0,"decision":null,"currentDueDate":null,"pastDueDate":null,"extendtoDate":null,"status":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2261
Then status 200
0
2262
And def serverResponse = response
0
2263
* def currentDueDate = serverResponse.existingData[0].currentDueDate
0
2264
* def pastDueDate = serverResponse.existingData[0].pastDueDate
0
243
* def extendedDueDate = currentDueDate
0
245
* def approvedStatus = false
0
246
And print extendedDueDate
0
18:38:43.564 [print] null
247
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension2'){}
999
18:38:44.563 classpath:karate/UseCases/UC_LIC_027_ExtendDueDate.feature:247
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension2'){}
unexpected type (match contains): NULL
classpath:karate/UseCases/LicensesCommonMethods.feature:2338
classpath:karate/UseCases/UC_LIC_027_ExtendDueDate.feature:247
>>
karate.UseCases.LicensesCommonMethods
552
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Approve Due Date *********************
2311
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2312
And header authorization = 'Bearer ' + strToken
0
2313
And request ''
0
2314
When method get
150
18:38:44.011 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/13810/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:38:44.161 response time in milliseconds: 149
1 < 200
1 < Content-Length: 1959
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:41 GMT
{"applicant":{"communicationId":25113,"email":"automation@svam.com","appId":13810,"emailContactTypeId":1,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25116,"email":"sbandi@svam.com","appId":13810,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2315
Then status 200
0
2316
And def serverResponse = response
0
2317
* def applicantCommId = serverResponse.applicant.communicationId
0
2318
* def attorneyCommId = serverResponse.attorney.communicationId
0
2320
Given path '/internalapi/api/licensing/duedate-extension/save'
0
2321
And header authorization = 'Bearer ' + strToken
0
2322
And header current-wfroleid = '3'
0
2323
And print extendedDueDate
0
18:38:44.163 [print] null
2324
And request {"extendtoDate":'#(extendedDueDate)',"decision":'#(approvedStatus)',"appId":'#(appId)',"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":'#(applicantCommId)',"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":'#(attorneyCommId)',"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
0
#{"extendtoDate":"2022-10-24T14:25:56.000Z","decision":true,"appId":9038,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}}}
#{"extendtoDate":"2022-10-29 ","decision":true,"appId":9038,"taskId":1304,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
2327
When method post
238
18:38:44.164 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
2 > current-wfroleid: 3
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 1615
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"extendtoDate":null,"decision":false,"appId":13810,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":25113,"email":"automation@svam.com","appId":13810,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25116,"email":"sbandi@svam.com","appId":13810,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
18:38:44.402 response time in milliseconds: 237
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:08:41 GMT
true
2328
Then status 200
0
2329
And def serverResponse = response
0
2330
And print serverResponse
0
18:38:44.402 [print] true
2331
* match serverResponse == 'true'
0
2332
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2333
And header authorization = 'Bearer ' + strToken
0
2334
And request ''
0
2335
When method get
160
18:38:44.403 request:
3 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13810
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjBmNmY5NWItODllZS00YmFiLWJkMTYtNDYzNTExNTFlMGFhIiwiZXhwIjoxNjY4NTQ2NDU2LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.Tbt2nln9WSJrfyxJwQuISFOAt6bON8I4qymKQjxvhU0
3 > Content-Type: text/plain; charset=UTF-8
3 > Content-Length: 0
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
18:38:44.562 response time in milliseconds: 159
3 < 200
3 < Content-Length: 425
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:08:41 GMT
{"existingData":[{"applicationDueDateID":0,"appId":13810,"statusID":0,"decision":null,"currentDueDate":null,"pastDueDate":null,"extendtoDate":null,"status":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2336
Then status 200
0
2337
And def serverResponse = response
0
2338
* match serverResponse.existingData[0].currentDueDate contains extendedDueDate
0
unexpected type (match contains): NULL
classpath:karate/UseCases/LicensesCommonMethods.feature:2338unexpected type (match contains): NULL
classpath:karate/UseCases/LicensesCommonMethods.feature:2338
Scenario: [4:258]
TC0008_NYS_SLA_Failed_Payment_Extension_Disapproved
ms: 23587
>>
Background:
3
* url BaseURL
0
18:38:44.569 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
31
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
66
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
## ******************** UC_LIC_027_ExtendDueDateOfReturnCheck:TC0008_NYS_SLA_Failed_Payment_Extension_Disapproved Scenario Start ***************************##
261
* call read('UC_LIC_027_ReturnCheck.feature@TC0002_NYC_SLA_LIC_Update_Application_Send_Notifications'){}
21428
>>
karate.UseCases.UC_LIC_027_ReturnCheck
19962
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
25
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
29
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
41
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
85
* def IndOrgSelectionDropDown = 'Individual'
0
86
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
87
And print indOrgCode
0
18:38:46.087 [print] 1
88
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
89
* def CorporateStructureDropDown = 'Individual'
0
90
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
91
And print CorporateStructureDropDownCode
0
18:38:46.088 [print] 1
92
* def firstName = 'Automation'
0
93
* def lastName = 'Automation'
0
94
* def legalName = firstName+ ' '+lastName
0
95
* def Address1 = 'Address1'
0
96
* def Address2 = 'Address2'
0
97
* def CityName = 'New York'
0
98
* def zipCode = '12345'
0
99
* def postalCode = '1234'
0
100
* def countryName = 'United States (US)'
0
101
* def emailId = 'automation@svam.com'
0
102
* def convictedOfCrime = 1
0
103
* def percentageOfOwners = 20
0
104
* def isFingerprintRequired = true
0
105
* def isFingerprintsApproved = true
0
106
* def isSignature = false
0
108
* def convictedOfCrime = 1
0
109
* def PhoneNumber = '999-999-9999'
0
110
* def PhoneExtn = 1234
0
111
* def countryCode = '+91'
0
112
* def stateCode = 40
0
114
* def mainLicensePermitTypeId = 40
0
115
* def termInYears = 3
0
116
* def termDesc = 3+' Year (s)'
0
117
* def licenseFees = 960
0
118
* def fillingFees = 100
0
119
* def licAncillaryFees = 1000
0
120
* def renewalFees = 30+''
0
121
* string productName = 'RestaurantBeer'+''
0
123
* def CountyId = 12
0
124
* def CountyName = 'New York'
0
125
* def totalFees = licenseFees+fillingFees
0
126
* def amountPaid = totalFees+''
0
127
* def splittedCityName = CityName.replaceAll(" ","")
0
129
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
6007
>>
karate.UseCases.LicensesCommonMethods
4244
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
4
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
3497
>>
karate.UseCases.LicensesCommonMethods
454
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
298
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
147
18:38:51.176 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:51.321 response time in milliseconds: 145
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:48 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
1
292
* def countyZone = countyData[0].ZoneNo
0
293
And print countyZone
0
18:38:51.343 [print] 2
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
234
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
154
18:38:51.579 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 328
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":12,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
18:38:51.732 response time in milliseconds: 153
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:48 GMT
1 < Content-Length: 234
[{"childAppId":null,"mainApplicationId":"NA-0111-22-219022","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-219022","parentAppId":13811,"appId":13811,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
0
316
And print ApplicationId
0
18:38:51.733 [print] NA-0111-22-219022
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
1
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
153
330
And header authorization = 'Bearer ' + strToken
0
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
192
18:38:51.889 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13811
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
18:38:52.080 response time in milliseconds: 191
2 < 200
2 < Content-Length: 185
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:08:48 GMT
{"applicationId":"NA-0111-22-219022","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
0
18:38:52.081 [print] Draft
340
And match licStatus == 'Draft'
0
130
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
676
>>
karate.UseCases.LicensesCommonMethods
195
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
190
18:38:52.563 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13811
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115183852","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115183852Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
18:38:52.752 response time in milliseconds: 187
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:50 GMT
1 < Content-Length: 2190
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":3960,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115183852","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115183852Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29199,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25117,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7720,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13125,"dba":null,"countyId":12,"countyName":"Albany","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29200,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25118,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7721,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9717,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4264,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
131
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
782
>>
karate.UseCases.LicensesCommonMethods
214
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
0
757
* def dt = licDate()
0
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
211
18:38:53.328 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13811
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Length: 1103
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":1,"percentageOfOwners":20,"isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T18:38:53.327Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115183853","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T18:38:53.327Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
18:38:53.539 response time in milliseconds: 210
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:50 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3241,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5508,"firstName":"Automation20221115183853","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29201,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25119,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
132
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
660
>>
karate.UseCases.LicensesCommonMethods
170
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
166
18:38:54.044 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13811
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
18:38:54.209 response time in milliseconds: 164
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:51 GMT
true
794
Then status 200
0
795
And def serverResponse = response
0
133
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
2689
>>
karate.UseCases.LicensesCommonMethods
2125
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
1
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
1
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
238
18:38:54.779 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13811
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:38:55.015 response time in milliseconds: 236
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:51 GMT
1 < Content-Length: 658
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219022","applicationTypeId":1,"appFeesId":0,"appId":13811,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
18:38:55.016 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
151
18:38:55.017 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13811,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13811,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13811,"createdBy":"Tarun Gupta"}
18:38:55.166 response time in milliseconds: 149
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:08:51 GMT
2 < Content-Length: 5
false
862
Then status 200
0
863
And print response
0
18:38:55.167 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
875
When method post
220
18:38:55.170 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13811/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13811,"slaintakeDate":"2022-11-15T18:38:54.777Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:38:54.777Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219022","applicationTypeId":1,"appFeesId":0,"appId":13811,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:38:54.773Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13811,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13811,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13811,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13811,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13811,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13811,"createdBy":"Tarun Gupta"},"taskId":null}
18:38:55.388 response time in milliseconds: 218
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:08:52 GMT
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
167
18:38:55.390 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13811
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
18:38:55.557 response time in milliseconds: 167
4 < 200
4 < Content-Length: 441
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 13:08:52 GMT
[{"checkDetailId":2306,"appId":13811,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T08:08:52.63","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
0
884
And print checkDetailId
0
18:38:55.558 [print] 2306
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
18:38:55.558 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
2
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
920
When method post
217
18:38:55.561 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13811/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13811,"slaintakeDate":"2022-11-15T18:38:55.560Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:38:55.560Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219022","applicationTypeId":1,"appFeesId":0,"appId":13811,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:38:54.773Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13811,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13811,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13811,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13811,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13811,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13811,"createdBy":"Tarun Gupta"},"taskId":null}
18:38:55.777 response time in milliseconds: 216
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 13:08:52 GMT
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
372
18:38:55.782 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13811,"formID":1165,"applicationID":"NA-0111-22-219022","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:38:56.151 response time in milliseconds: 368
6 < 200
6 < Content-Length: 51
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 13:08:52 GMT
{"appId":13811,"applicationId":"NA-0111-22-219022"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
226
18:38:56.154 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13811
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
18:38:56.378 response time in milliseconds: 224
7 < 200
7 < Content-Length: 660
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 13:08:52 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219022","applicationTypeId":1,"appFeesId":3043,"appId":13811,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
0
18:38:56.378 [print] 3043
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
18:38:56.379 [print] 3043
946
And print feesRefId1
0
18:38:56.379 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
18:38:56.379 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
0
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
18:38:56.380 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
18:38:56.380 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
18:38:56.380 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
245
18:38:56.381 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13811/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2306,"appId":13811,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:38:55.560Z","slaintakeDate":"2022-11-15T18:38:55.560Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:38:55.560Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219022","applicationTypeId":1,"appFeesId":6039,"appId":13811,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13811,"checkDetailId":2306,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T18:38:54.773Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13811,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13811,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13811,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13811,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13811,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13811,"createdBy":"Tarun Gupta"},"taskId":null}
18:38:56.626 response time in milliseconds: 244
8 < 200
8 < Content-Length: 4
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 13:08:53 GMT
true
972
Then status 200
0
973
And print response
0
18:38:56.626 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
272
18:38:56.630 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13811,"formID":1165,"applicationID":"NA-0111-22-219022","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:38:56.899 response time in milliseconds: 269
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 13:08:53 GMT
{"appId":13811,"applicationId":"NA-0111-22-219022"}
982
Then status 200
0
983
And def serverResponse = response
0
134
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
3722
>>
karate.UseCases.LicensesCommonMethods
2831
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
288
18:38:57.797 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13811,"wfType":null}
18:38:58.084 response time in milliseconds: 287
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:55 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13811,"applicationId":"NA-0111-22-219022","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
2537
>>
karate.UseCases.LicensesCommonMethods
637
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
434
1196
And header authorization = 'Bearer ' + strToken
5
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
1
1200
And request {}
1
1201
When method get
191
18:39:00.430 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13811
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:39:00.613 response time in milliseconds: 182
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:57 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-219022","submitDate":"2022-11-15T08:08:55.247","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
1
18:39:00.614 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
135
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'IntakeComplete'}
1053
>>
karate.UseCases.LicensesCommonMethods
216
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
4
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
206
18:39:01.468 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219022"}]
18:39:01.673 response time in milliseconds: 205
1 < 200
1 < Content-Length: 633
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:58 GMT
{"data":[{"acaId":13811,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183852Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":null,"premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219022","licenseId":null,"wfRoleId":2,"applicationStatus":"IntakeComplete","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
18:39:01.674 [print] {
"data": [
{
"acaId": 13811,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183852Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": null,
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219022",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "IntakeComplete",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
136
* call read('LicensesCommonMethods.feature@SearchLicenseApplicationByCriteria') {expLicStatus:'Awaiting Review'}
890
>>
karate.UseCases.LicensesCommonMethods
321
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1759
Given path '/internalapi/api/licensing/search/searchLicenseApplicationByCriteria'
0
1760
And header Content-Type = 'application/json; charset=utf-8'
0
1761
And header Accept = 'application/json; text/plain;*/*'
0
1762
And header authorization = 'Bearer ' + strToken
0
1763
And request {"WfTaskIdList":[],"LicenseStatusList":[],"Status":null,"isTempPermit":null,"ApplicationId":'#(ApplicationId)',"LicensePermitId":null,"LegalName":null,"FEIN":null}
0
1765
When method post
317
18:39:02.250 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/search/searchLicenseApplicationByCriteria
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Length: 164
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"WfTaskIdList":[],"LicenseStatusList":[],"Status":null,"isTempPermit":null,"ApplicationId":"NA-0111-22-219022","LicensePermitId":null,"LegalName":null,"FEIN":null}
18:39:02.565 response time in milliseconds: 315
1 < 200
1 < Content-Length: 722
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:08:58 GMT
{"apps":[{"appId":13811,"applicationId":"NA-0111-22-219022","licensePermitId":"","legalName":"Automation20221115183852Automation","fein":null,"status":"IntakeComplete","taskStatus":"Awaiting Review","taskId":1019,"submitDate":"2022-11-15T08:08:55.247","expirationDate":null,"description":"Restaurant-Beer","priority":"Normal","modifiedDate":"2022-11-15T08:08:55.247","isDisapprovedForCause":false,"appStatusId":2,"isActive":true,"premisesId":13125,"addressLine":"Address1, Address2","city":"New York","state":"New York","zipCode":"12345","county":"New York","country":"United States (US)","formId":1165,"isApplication":true,"isPermit":false,"expiryDate":null,"associateApps":[],"apps":[],"totalRecord":0}],"totalRecord":1}
1766
Then status 200
0
1768
* match response.apps[0].taskStatus == expLicStatus
0
137
* call read('LicensesCommonMethods.feature@IsPaymentFailedScenario') {dueDateCount:10,expStatus:'Awaiting Additional Funds'}
2762
>>
karate.UseCases.LicensesCommonMethods
2037
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1213
* eval if(dueDateCount > 0 ) fundDueDate = fundDueDateFunc(dueDateCount)
2
1215
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1224
* def date = getDate2()
0
1227
Given path '/internalapi/api/licensing/app/save'
0
1228
And header authorization = 'Bearer ' + strToken
0
1229
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
1230
When method post
273
18:39:03.299 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 30721
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13811,"formID":1165,"applicationID":"NA-0111-22-219022","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:39:03.569 response time in milliseconds: 269
1 < 200
1 < Content-Length: 51
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:00 GMT
{"appId":13811,"applicationId":"NA-0111-22-219022"}
1231
Then status 200
0
1232
And def serverResponse = response
0
1233
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/true'
0
1234
And header Content-Type = 'application/json; charset=utf-8'
0
1235
And header Accept = 'application/json; text/plain;*/*'
0
1236
And header authorization = 'Bearer ' + strToken
0
1237
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"isPaymentFailed":true,"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":'#(licAncillaryFees1)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":1026}
1
1238
When method post
356
18:39:03.571 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13811/true
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
2 > Content-Length: 5295
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2306,"appId":13811,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:39:03.295Z","slaintakeDate":"2022-11-15T18:39:03.295Z","amount":1060.0,"isPaymentFailed":true,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:39:03.295Z","modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219022","applicationTypeId":1,"appFeesId":6039,"appId":13811,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-25T18:39:03.294Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13811,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13811,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13811,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13811,"createdBy":"Tarun Gupta"},"taskId":1026}
18:39:03.926 response time in milliseconds: 355
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:09:00 GMT
true
1239
Then status 200
0
1240
And print response
1
18:39:03.927 [print] true
1241
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1401
>>
karate.UseCases.LicensesCommonMethods
808
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
655
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
149
18:39:05.175 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13811
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:39:05.324 response time in milliseconds: 149
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:02 GMT
1 < Content-Length: 226
{"applicationId":"NA-0111-22-219022","submitDate":"2022-11-15T08:08:55.247","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Additional Funds"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:39:05.324 [print] Awaiting Additional Funds
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
138
* def fundDueDate1 = fundDueDateFunc1(10)
1
139
* call read('LicensesCommonMethods.feature@GetAndValidateDueDateForLicense') {licAction:'Payment Failed',appStatus:'Awaiting Additional Funds',dueDate:'#(fundDueDate1)'}
692
>>
karate.UseCases.LicensesCommonMethods
192
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1773
Given path '/internalapi/api/licensing/new-license/getDueDates/'+appId
0
1774
And header authorization = 'Bearer ' + strToken
0
1775
And header Content-Type = 'application/json; charset=utf-8'
0
1776
And header Accept = 'application/json; text/plain;*/*'
0
1777
And request ""
0
1778
When method get
187
18:39:05.832 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/new-license/getDueDates/13811
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:39:06.018 response time in milliseconds: 186
1 < 200
1 < Content-Length: 312
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:02 GMT
[{"action":"Deficiencies Defined","applicationStatus":"N/A","dueDate":null,"remainingDays":0},{"action":"Payment Failed","applicationStatus":"Awaiting Additional Funds","dueDate":"2022-11-25T00:00:00","remainingDays":10},{"action":"Conditions Defined","applicationStatus":"N/A","dueDate":null,"remainingDays":0}]
1779
Then status 200
0
1780
And print response
0
18:39:06.018 [print] [
{
"action": "Deficiencies Defined",
"applicationStatus": "N/A",
"dueDate": null,
"remainingDays": 0
},
{
"action": "Payment Failed",
"applicationStatus": "Awaiting Additional Funds",
"dueDate": "2022-11-25T00:00:00",
"remainingDays": 10
},
{
"action": "Conditions Defined",
"applicationStatus": "N/A",
"dueDate": null,
"remainingDays": 0
}
]
1782
And def reslicAction = response[1].action
0
1783
And def resAppStatus = response[1].applicationStatus
0
1784
And def resAppDueDate = response[1].dueDate
0
1785
And print reslicAction
0
18:39:06.019 [print] Payment Failed
1786
And print resAppStatus
0
18:39:06.019 [print] Awaiting Additional Funds
1788
And print resAppDueDate
0
18:39:06.019 [print] 2022-11-25T00:00:00
1789
* match reslicAction == licAction
0
1790
* match resAppStatus == appStatus
0
1791
* match resAppDueDate contains dueDate
0
262
* call read('LicensesCommonMethods.feature@getDueDateExtension'){}
726
>>
karate.UseCases.LicensesCommonMethods
167
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
2257
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2258
And header authorization = 'Bearer ' + strToken
0
2259
And request ''
0
2260
When method get
162
18:39:06.590 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13811
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:39:06.752 response time in milliseconds: 162
1 < 200
1 < Content-Length: 465
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:04 GMT
{"existingData":[{"applicationDueDateID":0,"appId":13811,"statusID":2,"decision":null,"currentDueDate":"2022-11-25T00:00:00","pastDueDate":null,"extendtoDate":null,"status":"Awaiting Additional Funds","userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2261
Then status 200
0
2262
And def serverResponse = response
0
2263
* def currentDueDate = serverResponse.existingData[0].currentDueDate
0
2264
* def pastDueDate = serverResponse.existingData[0].pastDueDate
0
263
* def extendedDueDate = currentDueDate
0
264
* def approvedStatus = false
0
265
And print extendedDueDate
1
18:39:06.756 [print] 2022-11-25T00:00:00
266
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension2'){}
1400
>>
karate.UseCases.LicensesCommonMethods
642
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Approve Due Date *********************
2311
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2312
And header authorization = 'Bearer ' + strToken
0
2313
And request ''
0
2314
When method get
165
18:39:07.517 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/13811/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:39:07.680 response time in milliseconds: 163
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:04 GMT
1 < Content-Length: 1959
{"applicant":{"communicationId":25117,"email":"automation@svam.com","appId":13811,"emailContactTypeId":1,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25120,"email":"sbandi@svam.com","appId":13811,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2315
Then status 200
0
2316
And def serverResponse = response
0
2317
* def applicantCommId = serverResponse.applicant.communicationId
0
2318
* def attorneyCommId = serverResponse.attorney.communicationId
0
2320
Given path '/internalapi/api/licensing/duedate-extension/save'
0
2321
And header authorization = 'Bearer ' + strToken
0
2322
And header current-wfroleid = '3'
0
2323
And print extendedDueDate
0
18:39:07.681 [print] 2022-11-25T00:00:00
2324
And request {"extendtoDate":'#(extendedDueDate)',"decision":'#(approvedStatus)',"appId":'#(appId)',"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":'#(applicantCommId)',"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":'#(attorneyCommId)',"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
0
#{"extendtoDate":"2022-10-24T14:25:56.000Z","decision":true,"appId":9038,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}}}
#{"extendtoDate":"2022-10-29 ","decision":true,"appId":9038,"taskId":1304,"emailNotificationModel":{"applicant":{"communicationId":29722,"email":"automation@svam.com","appId":9038,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":29725,"email":"sbandi@svam.com","appId":9038,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
2327
When method post
299
18:39:07.684 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
2 > current-wfroleid: 3
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 1632
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"extendtoDate":"2022-11-25T00:00:00","decision":false,"appId":13811,"taskId":1028,"emailNotificationModel":{"applicant":{"communicationId":25117,"email":"automation@svam.com","appId":13811,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25120,"email":"sbandi@svam.com","appId":13811,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":"automation@test.com"}}}
18:39:07.981 response time in milliseconds: 295
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:09:05 GMT
true
2328
Then status 200
0
2329
And def serverResponse = response
0
2330
And print serverResponse
0
18:39:07.981 [print] true
2331
* match serverResponse == 'true'
0
2332
Given path '/internalapi/api/licensing/duedate-extension/get/'+appId
0
2333
And header authorization = 'Bearer ' + strToken
0
2334
And request ''
0
2335
When method get
173
18:39:07.982 request:
3 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/duedate-extension/get/13811
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzk1YjEzNDktOWZjYi00MzI0LTgwMmQtOTc1NGUyZmY4MjRhIiwiZXhwIjoxNjY4NTQ2NTIyLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.EPZka7rHkmaIg3WcBR_AS73kjqc5d4Gn6E96LZzexwE
3 > Content-Type: text/plain; charset=UTF-8
3 > Content-Length: 0
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
18:39:08.153 response time in milliseconds: 171
3 < 200
3 < Content-Length: 466
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:09:05 GMT
{"existingData":[{"applicationDueDateID":0,"appId":13811,"statusID":2,"decision":false,"currentDueDate":"2022-11-25T00:00:00","pastDueDate":null,"extendtoDate":null,"status":"Awaiting Additional Funds","userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"notifyLookupData":null}
2336
Then status 200
0
2337
And def serverResponse = response
0
2338
* match serverResponse.existingData[0].currentDueDate contains extendedDueDate
0
Scenario: [5:274]
TC0008_NYS_SLA_Failed_Payment_Extension_Disapproved
ms: 46435
>>
Background:
3
* url BaseURL
0
18:39:08.165 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
32
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
66
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
## ******************** UC_LIC_027_ExtendDueDateOfReturnCheck:TC0008_NYS_SLA_Failed_Payment_Extension_Disapproved Scenario Start ***************************##
277
* call read('UC_LIC_030_IntakeConditions.feature@TC0006_NYC_SLA_LIC_Intake_Conditions_Mark_Partial_Condition_Met'){}
46403
18:39:54.601 classpath:karate/UseCases/UC_LIC_027_ExtendDueDate.feature:277
* call read('UC_LIC_030_IntakeConditions.feature@TC0006_NYC_SLA_LIC_Intake_Conditions_Mark_Partial_Condition_Met'){}
status code was: 404, expected: 200, response time in milliseconds: 136, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/conditionReview/saveConditionsInfo, response:
classpath:karate/UseCases/LicensesCommonMethods.feature:5359
classpath:karate/UseCases/UC_LIC_030_IntakeConditions.feature:447
classpath:karate/UseCases/UC_LIC_027_ExtendDueDate.feature:277
>>
karate.UseCases.UC_LIC_030_IntakeConditions
45142
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
25
6
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
17
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
28
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
385
* def IndOrgSelectionDropDown = 'Individual'
0
386
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
387
And print indOrgCode
0
18:39:09.485 [print] 1
388
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
389
* def CorporateStructureDropDown = 'Individual'
0
390
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
391
And print CorporateStructureDropDownCode
0
18:39:09.485 [print] 1
392
* def firstName = 'Automation'
0
393
* def lastName = 'Automation'
0
394
* def legalName = firstName+ ' '+lastName
0
395
* def Address1 = 'Address1'
0
396
* def Address2 = 'Address2'
0
397
* def CityName = 'New York'
0
398
* def zipCode = '12345'
0
399
* def postalCode = '1234'
0
400
* def countryName = 'United States (US)'
0
401
* def emailId = 'automation@svam.com'
0
402
* def convictedOfCrime = '1'
0
403
* def percentageOfOwners = '20'
0
404
* def isFingerprintRequired = true
0
405
* def isFingerprintsApproved = true
0
406
* def isSignature = false
0
408
* def convictedOfCrime = '1'
0
409
* def PhoneNumber = '999-999-9999'
0
410
* def PhoneExtn = 1234
0
411
* def countryCode = '+91'
0
412
* def stateCode = 40
0
414
* def mainLicensePermitTypeId = 40
0
415
* def termInYears = 3
0
416
* def termDesc = 3+' Year (s)'
0
417
* def licenseFees = 960
0
418
* def fillingFees = 100
0
419
* def licAncillaryFees = 1000
0
420
* def renewalFees = 30+''
0
421
* string productName = 'RestaurantBeer'+''
0
423
* def CountyId = 12
0
424
* def CountyName = 'New York'
0
425
* def totalFees = licenseFees+fillingFees
0
426
* def amountPaid = totalFees+''
0
427
* def splittedCityName = CityName.replaceAll(" ","")
0
430
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
7799
>>
karate.UseCases.LicensesCommonMethods
6508
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
5563
>>
karate.UseCases.LicensesCommonMethods
4087
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
3896
119
And header authorization = 'Bearer ' + strToken
1
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
185
18:39:16.082 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:39:16.258 response time in milliseconds: 176
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:13 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
2
292
* def countyZone = countyData[0].ZoneNo
0
293
And print countyZone
1
18:39:16.318 [print] 2
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
349
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
214
18:39:16.669 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 328
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":12,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
18:39:16.882 response time in milliseconds: 212
1 < 200
1 < Content-Length: 234
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:13 GMT
[{"childAppId":null,"mainApplicationId":"NA-0111-22-219023","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-219023","parentAppId":13812,"appId":13812,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
0
316
And print ApplicationId
0
18:39:16.883 [print] NA-0111-22-219023
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
1
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
207
330
And header authorization = 'Bearer ' + strToken
0
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
162
18:39:17.094 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13812
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
18:39:17.255 response time in milliseconds: 160
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:09:13 GMT
2 < Content-Length: 185
{"applicationId":"NA-0111-22-219023","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
0
18:39:17.255 [print] Draft
340
And match licStatus == 'Draft'
0
431
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
4259
>>
karate.UseCases.LicensesCommonMethods
258
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
1
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
1
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
2
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
2
717
When method post
244
18:39:20.969 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13812
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115183920","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115183920Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
18:39:21.209 response time in milliseconds: 238
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:18 GMT
1 < Content-Length: 2190
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":3961,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115183920","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115183920Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29203,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25121,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7722,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13126,"dba":null,"countyId":12,"countyName":"Albany","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29204,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25122,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7723,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9718,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4265,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
432
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
1803
>>
karate.UseCases.LicensesCommonMethods
200
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
1
757
* def dt = licDate()
1
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
1
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
193
18:39:23.116 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13812
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Length: 1107
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"1","percentageOfOwners":"20","isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T18:39:23.114Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115183923","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T18:39:23.114Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
18:39:23.307 response time in milliseconds: 191
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:20 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3242,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5510,"firstName":"Automation20221115183923","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29205,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25123,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
433
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
2296
>>
karate.UseCases.LicensesCommonMethods
158
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
155
18:39:25.481 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13812
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
18:39:25.636 response time in milliseconds: 154
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:22 GMT
1 < Content-Length: 4
true
794
Then status 200
0
795
And def serverResponse = response
0
434
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
5089
>>
karate.UseCases.LicensesCommonMethods
2062
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
2
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
2
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
1
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
237
18:39:28.673 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13812
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:39:28.907 response time in milliseconds: 234
1 < 200
1 < Content-Length: 658
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:26 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219023","applicationTypeId":1,"appFeesId":0,"appId":13812,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
18:39:28.910 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
188
18:39:28.911 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13812,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13812,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13812,"createdBy":"Tarun Gupta"}
18:39:29.098 response time in milliseconds: 187
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:09:26 GMT
2 < Content-Length: 5
false
862
Then status 200
0
863
And print response
0
18:39:29.099 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
875
When method post
211
18:39:29.101 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13812/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13812,"slaintakeDate":"2022-11-15T18:39:28.670Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:39:28.670Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219023","applicationTypeId":1,"appFeesId":0,"appId":13812,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:39:28.663Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13812,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13812,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13812,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13812,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13812,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13812,"createdBy":"Tarun Gupta"},"taskId":null}
18:39:29.311 response time in milliseconds: 210
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 13:09:26 GMT
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
191
18:39:29.312 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13812
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
18:39:29.502 response time in milliseconds: 190
4 < 200
4 < Content-Length: 442
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 13:09:26 GMT
[{"checkDetailId":2307,"appId":13812,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T08:09:26.557","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
0
884
And print checkDetailId
0
18:39:29.503 [print] 2307
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
18:39:29.503 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
1
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
920
When method post
235
18:39:29.506 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13812/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13812,"slaintakeDate":"2022-11-15T18:39:29.505Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T18:39:29.505Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219023","applicationTypeId":1,"appFeesId":0,"appId":13812,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T18:39:28.663Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13812,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13812,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13812,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13812,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13812,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13812,"createdBy":"Tarun Gupta"},"taskId":null}
18:39:29.740 response time in milliseconds: 234
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 13:09:26 GMT
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
283
18:39:29.745 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13812,"formID":1165,"applicationID":"NA-0111-22-219023","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:39:30.025 response time in milliseconds: 280
6 < 200
6 < Content-Length: 51
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 13:09:27 GMT
{"appId":13812,"applicationId":"NA-0111-22-219023"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
224
18:39:30.027 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13812
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
18:39:30.249 response time in milliseconds: 222
7 < 200
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 13:09:27 GMT
7 < Content-Length: 660
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-219023","applicationTypeId":1,"appFeesId":3044,"appId":13812,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
1
18:39:30.251 [print] 3044
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
18:39:30.251 [print] 3044
946
And print feesRefId1
0
18:39:30.251 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
18:39:30.252 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
1
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
18:39:30.254 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
18:39:30.255 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
18:39:30.255 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
971
When method post
205
18:39:30.258 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13812/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2307,"appId":13812,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T18:39:29.505Z","slaintakeDate":"2022-11-15T18:39:29.505Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T18:39:29.505Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-219023","applicationTypeId":1,"appFeesId":6039,"appId":13812,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13812,"checkDetailId":2307,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T18:39:28.663Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13812,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13812,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13812,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13812,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13812,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13812,"createdBy":"Tarun Gupta"},"taskId":null}
18:39:30.461 response time in milliseconds: 203
8 < 200
8 < Content-Length: 4
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 13:09:27 GMT
true
972
Then status 200
0
973
And print response
0
18:39:30.462 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
262
18:39:30.466 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13812,"formID":1165,"applicationID":"NA-0111-22-219023","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
18:39:30.725 response time in milliseconds: 259
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 13:09:27 GMT
{"appId":13812,"applicationId":"NA-0111-22-219023"}
982
Then status 200
0
983
And def serverResponse = response
0
435
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
7895
>>
karate.UseCases.LicensesCommonMethods
6494
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
272
18:39:32.113 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13812,"wfType":null}
18:39:32.384 response time in milliseconds: 271
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:29 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13812,"applicationId":"NA-0111-22-219023","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
6218
>>
karate.UseCases.LicensesCommonMethods
3802
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
3582
1196
And header authorization = 'Bearer ' + strToken
4
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
209
18:39:38.374 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13812
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:39:38.579 response time in milliseconds: 204
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:35 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-219023","submitDate":"2022-11-15T08:09:29.55","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:39:38.580 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
2
436
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'IntakeComplete'}
2910
>>
karate.UseCases.LicensesCommonMethods
387
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
379
18:39:41.152 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219023"}]
18:39:41.528 response time in milliseconds: 376
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:38 GMT
1 < Content-Length: 633
{"data":[{"acaId":13812,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183920Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":null,"premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219023","licenseId":null,"wfRoleId":2,"applicationStatus":"IntakeComplete","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
18:39:41.530 [print] {
"data": [
{
"acaId": 13812,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183920Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": null,
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219023",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "IntakeComplete",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
438
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
4037
>>
karate.UseCases.LicensesCommonMethods
2111
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
242
18:39:43.465 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":13812,"examinerId":1069,"priority":"Normal"}]
18:39:43.704 response time in milliseconds: 239
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:40 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1863
>>
karate.UseCases.LicensesCommonMethods
701
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
547
1196
And header authorization = 'Bearer ' + strToken
1
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
149
18:39:45.413 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13812
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:39:45.561 response time in milliseconds: 147
1 < 200
1 < Content-Length: 215
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:42 GMT
{"applicationId":"NA-0111-22-219023","submitDate":"2022-11-15T08:09:29.55","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:39:45.561 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
440
* call read('LicensesCommonMethods.feature@ExaminerReviewApprovalToLB') {expStatus:'Awaiting Review'}
2493
>>
karate.UseCases.LicensesCommonMethods
1866
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Examiner Review Approval to LB *********************
1149
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
1157
Given path '/internalapi/api/licensing/examiner-review/SaveNewLicense'
0
1158
* def formatedSumbitDate = summisionDate()
1
1159
And header authorization = 'Bearer ' + strToken
0
1160
And header current-wfroleid = 4
0
1161
And request {"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"1","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null};
0
1162
When method post
286
18:39:46.209 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewLicense
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > current-wfroleid: 4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 3055
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":13812,"applicationId":"NA-0111-22-219023","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":1165,"legalName":"Automation20221115183920Automation","submitDate":"2022-11-15T18:39:46.203","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":13812,"examinerId":1069,"name":null,"assignDate":"2022-11-15T18:39:46.203","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"RestaurantBeer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T18:39:46.203"},"appId":13812,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null}
18:39:46.489 response time in milliseconds: 280
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:42 GMT
true
1163
Then status 200
0
1164
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1573
>>
karate.UseCases.LicensesCommonMethods
729
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
555
1196
And header authorization = 'Bearer ' + strToken
1
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
166
18:39:47.892 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13812
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:39:48.057 response time in milliseconds: 165
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:45 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-219023","submitDate":"2022-11-15T08:09:29.55","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
18:39:48.058 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
441
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
1037
>>
karate.UseCases.LicensesCommonMethods
187
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
3
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
180
18:39:48.920 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219023"}]
18:39:49.098 response time in milliseconds: 178
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:46 GMT
1 < Content-Length: 641
{"data":[{"acaId":13812,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183920Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219023","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
18:39:49.098 [print] {
"data": [
{
"acaId": 13812,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183920Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219023",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
442
* call read('LicensesCommonMethods.feature@AddLicenseClaimingQueue') {}
800
>>
karate.UseCases.LicensesCommonMethods
162
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Claiming Queue *********************
5367
Given path 'internalapi/api/licensing/claiming-queue/add/'+appId +'/1069'
0
5368
And header authorization = 'Bearer ' + strToken
0
5369
And header current-wfroleid = 5
0
5370
And request {}
0
5371
When method post
158
18:39:49.743 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/claiming-queue/add/13812/1069
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
18:39:49.900 response time in milliseconds: 157
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:46 GMT
true
5372
Then status 200
0
5373
And def serverResponse = response
0
5374
And print serverResponse
0
18:39:49.901 [print] true
443
* def DefineStipulationStatus = true
0
444
* def licStatus = 'Conditionally Approved'
0
445
* call read('LicensesCommonMethods.feature@ApproveLBWithStipulations') {StipulationsCount:2}
1144
>>
karate.UseCases.LicensesCommonMethods
460
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
3156
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
3167
* def currentDate = fundDueDateFunc1(0)
2
3168
* def expiryDate = fundDueDateFunc1(30)
1
3169
Given path '/internalapi/api/licensing/new-license/saveDecision'
0
3170
And header authorization = 'Bearer ' + strToken
0
3171
And header current-wfroleid = 5
0
3172
* def payload = ""
0
3173
* def payloadWithReturnToExaminer = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Return to Examiner","value":7},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"returning to examiner queue for correct review"}
0
#* def payloadWithConditionalApprove = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Conditionally Approved","value":5},"emailNotificationModel":{"applicant":{"communicationId":106,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":109,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","conditionalApproval":{"selectInput":{"fromFields":[{"id":2,"label":"Provide a copy of the business certificate from the county clerk for your dba name"},{"id":3,"label":"Provide your federal tax identification number"},{"id":4,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department"},{"id":5,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":6,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly"},{"id":7,"label":"Provide a signed Bond Rider amending____________"},{"id":8,"label":"Provide Worker’s Compensation and Disability Benefits insurance provider names and policy numbers"},{"id":9,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"},{"id":10,"label":"Submit a copy of the Newspaper Affidavit(s)"},{"id":11,"label":"Provide your TTB permit"},{"id":12,"label":"Surrender of the current license in effect"},{"id":13,"label":"Other Condition"}],"toFields":[{"id":1,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"}],"isRewritable":true,"rewriteLabel":"Edit Condition:","additionalComments":"","srclabel":"Select","dstlabel":"Add to Letter","additionalLabel":"Additional Conditions:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"conditions":[1],"descriptions":["Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"]}}
3175
* def payloadWithConditionalApprove = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Conditionally Approved","value":5},"emailNotificationModel":{"applicant":{"communicationId":4,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","conditionalApproval":{"selectInput":{"fromFields":[{"id":3,"label":"Provide your federal tax identification number"},{"id":5,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":6,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly"},{"id":7,"label":"Provide a signed Bond Rider amending____________"},{"id":8,"label":"Provide Worker’s Compensation and Disability Benefits insurance provider names and policy numbers"},{"id":9,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"},{"id":10,"label":"Submit a copy of the Newspaper Affidavit(s)"},{"id":11,"label":"Provide your TTB permit"},{"id":12,"label":"Surrender of the current license in effect"},{"id":13,"label":"Other Condition"}],"toFields":[{"id":1,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"},{"id":2,"label":"Provide a copy of the business certificate from the county clerk for your dba name"},{"id":4,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department"}],"isRewritable":true,"rewriteLabel":"Edit Condition:","additionalComments":"","srclabel":"Select","dstlabel":"Add to Letter","additionalLabel":"Additional Conditions:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"conditions":[1,2,4],"descriptions":["Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name","Provide a copy of the business certificate from the county clerk for your dba name","Provide a copy of your Certificate of Authority from the New York State Tax Department"]}}
0
3176
* def payloadWithoutStipulations = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":23,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":26,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"},{"id":40,"label":"ABC"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","additionalComments":"","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"stipulations":[],"descriptions":[]}}
0
3177
* def payloadSingle = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":9854,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","approval":{"isDefineStipulations":'#(DefineStipulationStatus)',"selectInput":{"fromFields":[{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"},{"id":40,"label":"ABC"}],"toFields":[{"id":1,"label":"Inside of premises closes at x"}],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","additionalComments":"","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"stipulations":[1],"descriptions":["Inside of premises closes at x"]}}
0
3178
* def payloadmultiple = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":9854,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","approval":{"isDefineStipulations":true,"selectInput":{"fromFields":[],"toFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"},{"id":40,"label":"ABC"}],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","additionalComments":"","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"stipulations":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"descriptions":["Inside of premises closes at x","Side walk café closes at x","Backyard closes at x","Alcohol consumption inside stops at X","Alcohol consumption in backyard stops at x","Alcohol consumption on sidewalk café stops at x","No live music in inside of premises","No live music outside of premise","No DJs","No promoters","No Promoted events","Recorded music only","Music stops at X","Music outside stops at X","Only non-amplified music","Acoustic music only","No bar crawls","Close façade doors at certain time","Close Windows at a certain time","No boozy brunches","No unlimited drink","No happy Hours","No bottle service ","No dancing","No delivery bikes","No TVs","Licensed patio","Licensed sidewalk café","No outside areas","Security Guards required","X amount of security guards per x amount of patrons","# of security guards per patron","No VIP","No roped lines","No hookah","Doors closed at all times","Windows closed at all time","All agreed upon CB stipulations except","All employees must be TIPS trained","ABC"]}}
0
3179
* eval if (StipulationsCount == 0 && licStatus == 'Approved') payload = payloadWithoutStipulations
1
3180
* eval if (StipulationsCount == 1 && licStatus == 'Approved') payload = payloadSingle
0
3181
* eval if (StipulationsCount > 1 && licStatus == 'Approved') payload = payloadmultiple
0
3182
* eval if (licStatus == 'Conditionally Approved') payload = payloadWithConditionalApprove
0
3183
* eval if (licStatus == 'Return to Examiner') payload = payloadWithReturnToExaminer
0
3184
And request payload
0
3185
And print payload
1
18:39:50.592 [print] {
"isSubmit": true,
"isHoldForCB": false,
"isWaiverReceived": false,
"isBuyerApproved": -1,
"masterFileData": [
],
"combinedCraftData": [
],
"isChainRestaurant": false,
"appId": 13812,
"applicationType": 1,
"applicationId": "NA-0111-22-219023",
"legalName": "Automation20221115183920Automation",
"statusId": 3,
"decisionType": {
"name": "Conditionally Approved",
"value": 5
},
"emailNotificationModel": {
"applicant": {
"communicationId": 4,
"email": "automation@svam.com",
"appId": 13812,
"emailContactTypeId": 1,
"isChecked": true,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"attorney": {
"communicationId": 0,
"email": null,
"appId": 0,
"emailContactTypeId": 0,
"isChecked": false,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"communityBoard": {
"communicationId": 0,
"email": null,
"appId": 0,
"emailContactTypeId": 0,
"isChecked": false,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"other": {
"communicationId": 0,
"email": "",
"appId": 13812,
"emailContactTypeId": 0,
"isChecked": false,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
}
},
"hasErrors": [
],
"licPermitTypeId": 40,
"taskId": 1151,
"newComments": "",
"conditionalApproval": {
"selectInput": {
"fromFields": [
{
"id": 3,
"label": "Provide your federal tax identification number"
},
{
"id": 5,
"label": "Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."
},
{
"id": 6,
"label": "Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly"
},
{
"id": 7,
"label": "Provide a signed Bond Rider amending____________"
},
{
"id": 8,
"label": "Provide Worker\u2019s Compensation and Disability Benefits insurance provider names and policy numbers"
},
{
"id": 9,
"label": "Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"
},
{
"id": 10,
"label": "Submit a copy of the Newspaper Affidavit(s)"
},
{
"id": 11,
"label": "Provide your TTB permit"
},
{
"id": 12,
"label": "Surrender of the current license in effect"
},
{
"id": 13,
"label": "Other Condition"
}
],
"toFields": [
{
"id": 1,
"label": "Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name"
},
{
"id": 2,
"label": "Provide a copy of the business certificate from the county clerk for your dba name"
},
{
"id": 4,
"label": "Provide a copy of your Certificate of Authority from the New York State Tax Department"
}
],
"isRewritable": true,
"rewriteLabel": "Edit Condition:",
"additionalComments": "",
"srclabel": "Select",
"dstlabel": "Add to Letter",
"additionalLabel": "Additional Conditions:"
},
"effectiveDate": "2022-11-15",
"expirationDate": "2022-12-15",
"conditions": [
1,
2,
4
],
"descriptions": [
"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name",
"Provide a copy of the business certificate from the county clerk for your dba name",
"Provide a copy of your Certificate of Authority from the New York State Tax Department"
]
}
}
3186
When method post
276
18:39:50.594 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/new-license/saveDecision
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 4163
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":13812,"applicationType":1,"applicationId":"NA-0111-22-219023","legalName":"Automation20221115183920Automation","statusId":3,"decisionType":{"name":"Conditionally Approved","value":5},"emailNotificationModel":{"applicant":{"communicationId":4,"email":"automation@svam.com","appId":13812,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13812,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":40,"taskId":1151,"newComments":"","conditionalApproval":{"selectInput":{"fromFields":[{"id":3,"label":"Provide your federal tax identification number"},{"id":5,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"id":6,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly"},{"id":7,"label":"Provide a signed Bond Rider amending____________"},{"id":8,"label":"Provide Worker\u2019s Compensation and Disability Benefits insurance provider names and policy numbers"},{"id":9,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"},{"id":10,"label":"Submit a copy of the Newspaper Affidavit(s)"},{"id":11,"label":"Provide your TTB permit"},{"id":12,"label":"Surrender of the current license in effect"},{"id":13,"label":"Other Condition"}],"toFields":[{"id":1,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC\u2019s dba name"},{"id":2,"label":"Provide a copy of the business certificate from the county clerk for your dba name"},{"id":4,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department"}],"isRewritable":true,"rewriteLabel":"Edit Condition:","additionalComments":"","srclabel":"Select","dstlabel":"Add to Letter","additionalLabel":"Additional Conditions:"},"effectiveDate":"2022-11-15","expirationDate":"2022-12-15","conditions":[1,2,4],"descriptions":["Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC\u2019s dba name","Provide a copy of the business certificate from the county clerk for your dba name","Provide a copy of your Certificate of Authority from the New York State Tax Department"]}}
18:39:50.867 response time in milliseconds: 273
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:48 GMT
true
3187
Then status 200
0
3188
And def serverResponse = response
0
3189
And print serverResponse
0
18:39:50.868 [print] true
# ********* GET License Id *********************
3194
Given path '/internalapi/api/licensing/LBDecision/getLicenseByAppId/' + appId +'/-1'
0
3195
And header authorization = 'Bearer ' + strToken
0
3196
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-01-10","expirationDate":"2022-08-31","stipulations":[],"descriptions":[]}}
0
3197
When method get
168
18:39:50.871 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/LBDecision/getLicenseByAppId/13812/-1
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 2433
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":13812,"applicationType":1,"applicationId":"NA-0111-22-219023","legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-01-10","expirationDate":"2022-08-31","stipulations":[],"descriptions":[]}}
18:39:51.036 response time in milliseconds: 165
2 < 200
2 < Content-Length: 2837
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:09:48 GMT
{"license":{"licId":0,"applicationId":null,"licenseId":null,"licensePermitId":null,"licePermitTypeId":40,"appId":null,"legacySerialNo":null,"issueDate":null,"expiryDate":"2025-10-31T00:00:00","effectiveDate":"2022-11-15T00:00:00","seasonalStartDate":null,"seasonalEndDate":null,"safeKeepingExpiryDate":null,"status":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"extTempPermitEnabled":false,"application":{"applicationCategory":null,"appId":null,"applicationId":null,"licePermitTypeId":null,"applicationTypeId":null,"formVersionId":null,"formId":null,"legalName":null,"submitDate":null,"isGISRequired":null,"licenseDescription":null,"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":null,"priority":null,"expirationDate":null,"appStatusId":null,"taskStatus":null,"taskId":null,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":null,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":null,"isNotQualified":null,"eventDate":null,"appStatus":{"appStatusId":0,"statusDescription":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":null,"assignAppToLB":null,"licePermitType":null,"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":0,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"options":null,"emailNotificationModel":null,"taskOptionsListNested":null,"days":0,"permit":null,"licPermitType":null,"licensePermitMapping":null,"licenseFee":null,"accountBalance":null,"licenseDescription":null,"isSeasonal":false,"isSummerSeasonal":false,"newExpiryDate":null,"amountDue":null,"originalLicenseFee":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"wfRoleId":0},"person":[],"totalRecord":0,"apps":[]}
3198
Then status 200
0
3199
And def serverResponse = response
0
3200
And print serverResponse
1
18:39:51.038 [print] {
"license": {
"licId": 0,
"applicationId": null,
"licenseId": null,
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": null,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3201
And def licId = serverResponse.license.licId
0
3202
And def licenseId = serverResponse.license.licenseId
0
3203
And print serverResponse
1
18:39:51.040 [print] {
"license": {
"licId": 0,
"applicationId": null,
"licenseId": null,
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": null,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3204
And print 'licId : ' , licId
0
18:39:51.040 [print] licId : 0
3205
And print 'licenseId : ' , licenseId
0
18:39:51.041 [print] licenseId : null
3206
And match licId != []
0
3207
And match licenseId != []
0
446
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Conditionally Approved'}
1353
>>
karate.UseCases.LicensesCommonMethods
206
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
203
18:39:52.195 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-219023"}]
18:39:52.396 response time in milliseconds: 201
1 < 200
1 < Content-Length: 651
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:49 GMT
{"data":[{"acaId":13812,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115183920Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-219023","licenseId":null,"wfRoleId":2,"applicationStatus":"Conditionally Approved","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
18:39:52.397 [print] {
"data": [
{
"acaId": 13812,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115183920Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-219023",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Conditionally Approved",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
0
447
* call read('LicensesCommonMethods.feature@SelectUploadTextConditionsFromConditonallyApprovedLic') {isConditionMet:true}
2201
18:39:54.601 classpath:karate/UseCases/UC_LIC_030_IntakeConditions.feature:447
* call read('LicensesCommonMethods.feature@SelectUploadTextConditionsFromConditonallyApprovedLic') {isConditionMet:true}
status code was: 404, expected: 200, response time in milliseconds: 136, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/conditionReview/saveConditionsInfo, response:
classpath:karate/UseCases/LicensesCommonMethods.feature:5359
classpath:karate/UseCases/UC_LIC_030_IntakeConditions.feature:447
>>
karate.UseCases.LicensesCommonMethods
1021
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
5310
* def expirationDateFunc =
1
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
5321
* def expirationDate = expirationDateFunc(90)
2
5322
* def effectiveDate = EffDate()
0
5323
Given path '/internalapi/api/licensing/conditionReview/getConditionsInfo/'+appId
0
5324
* def dbSts = db.cleanHeap()
678
5325
And header authorization = 'Bearer ' + strToken
0
5326
And header Content-Type = 'application/json'
0
5327
And header current-wfroleid = '3'
0
5328
And header Accept = 'application/json'
0
5329
And request ""
0
5330
When method get
186
18:39:54.265 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/conditionReview/getConditionsInfo/13812
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
1 > Content-Type: application/json; charset=UTF-8
1 > current-wfroleid: 3
1 > Accept: application/json
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
18:39:54.449 response time in milliseconds: 184
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 13:09:51 GMT
1 < Content-Length: 2959
{"appId":0,"effectiveDate":"2022-11-15T00:00:00","expirationDate":"2022-12-15T00:00:00","acaType":null,"acaStatus":null,"comment":"","conditionReview":[{"appConditionId":161,"appId":13812,"conditionId":1,"conditionDescriptionDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name","conditionDescription":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name","createdBy":"tgupta@svam.com","conditionDefinedDate":"2022-11-15T08:09:48.033","responseDueDate":"2022-12-15T00:00:00","isConditionMet":null,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":162,"appId":13812,"conditionId":2,"conditionDescriptionDetail":"Provide a copy of the business certificate from the county clerk for your dba name","conditionDescription":"Provide a copy of the business certificate from the county clerk for your dba name","createdBy":"tgupta@svam.com","conditionDefinedDate":"2022-11-15T08:09:48.043","responseDueDate":"2022-12-15T00:00:00","isConditionMet":null,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":163,"appId":13812,"conditionId":4,"conditionDescriptionDetail":"Provide a copy of your Certificate of Authority from the New York State Tax Department","conditionDescription":"Provide a copy of your Certificate of Authority from the New York State Tax Department","createdBy":"tgupta@svam.com","conditionDefinedDate":"2022-11-15T08:09:48.05","responseDueDate":"2022-12-15T00:00:00","isConditionMet":null,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"workFlowStatus":0,"workFlowCondition":0,"isSubmit":false,"isSaveResponse":false,"isContitionsMet":false,"istabChangeSave":false,"isRequiredNewCertificate":false,"emailNotificationModel":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}
5331
Then status 200
0
5332
And print response
2
18:39:54.452 [print] {
"appId": 0,
"effectiveDate": "2022-11-15T00:00:00",
"expirationDate": "2022-12-15T00:00:00",
"acaType": null,
"acaStatus": null,
"comment": "",
"conditionReview": [
{
"appConditionId": 161,
"appId": 13812,
"conditionId": 1,
"conditionDescriptionDetail": "Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name",
"conditionDescription": "Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name",
"createdBy": "tgupta@svam.com",
"conditionDefinedDate": "2022-11-15T08:09:48.033",
"responseDueDate": "2022-12-15T00:00:00",
"isConditionMet": null,
"responseReceived": null,
"attachedDocumentIds": null,
"responseReceivedJson": null,
"attachDocument": null,
"taskOption": null,
"documents": [
],
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
{
"appConditionId": 162,
"appId": 13812,
"conditionId": 2,
"conditionDescriptionDetail": "Provide a copy of the business certificate from the county clerk for your dba name",
"conditionDescription": "Provide a copy of the business certificate from the county clerk for your dba name",
"createdBy": "tgupta@svam.com",
"conditionDefinedDate": "2022-11-15T08:09:48.043",
"responseDueDate": "2022-12-15T00:00:00",
"isConditionMet": null,
"responseReceived": null,
"attachedDocumentIds": null,
"responseReceivedJson": null,
"attachDocument": null,
"taskOption": null,
"documents": [
],
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
{
"appConditionId": 163,
"appId": 13812,
"conditionId": 4,
"conditionDescriptionDetail": "Provide a copy of your Certificate of Authority from the New York State Tax Department",
"conditionDescription": "Provide a copy of your Certificate of Authority from the New York State Tax Department",
"createdBy": "tgupta@svam.com",
"conditionDefinedDate": "2022-11-15T08:09:48.05",
"responseDueDate": "2022-12-15T00:00:00",
"isConditionMet": null,
"responseReceived": null,
"attachedDocumentIds": null,
"responseReceivedJson": null,
"attachDocument": null,
"taskOption": null,
"documents": [
],
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
}
],
"workFlowStatus": 0,
"workFlowCondition": 0,
"isSubmit": false,
"isSaveResponse": false,
"isContitionsMet": false,
"istabChangeSave": false,
"isRequiredNewCertificate": false,
"emailNotificationModel": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
}
5333
* def appConditionId = response.conditionReview[0].appConditionId
6
5334
* def conditionDefinedDate = response.conditionReview[0].conditionDefinedDate
0
5335
* def conditionId = response.conditionReview[0].conditionId
0
5336
* def conditionDescription = response.conditionReview[0].conditionDescription
0
5337
* def conditionDescriptionDetail = response.conditionReview[0].conditionDescriptionDetail
0
5338
* def responseDueDate = response.conditionReview[0].responseDueDate
0
5339
* def taskDecision = response.conditionReview[0].taskDecision
0
5340
* def taskId = response.conditionReview[0].taskId
0
5341
Given path '/internalapi/api/licensing/conditionReview/saveConditionsInfo'
0
5342
And header Content-Type = 'application/json; charset=utf-8'
0
5343
And header Accept = 'application/json; text/plain;*/*'
0
5344
And header authorization = 'Bearer ' + strToken
0
5345
* def responseDueDate = expirationDate + "T00:00:00"
0
5346
And print isConditionMet
0
18:39:54.459 [print] true
5347
* def payload = ""
0
5348
* def payloadWithYesConditionMet = {"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"conditionReview":[{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":'#(conditionId)',"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":true,"responseReceived":["adding Test Response message"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":-1,"conditionDescriptionDetail":"test","conditionDescription":"test","createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":true,"responseReceived":["Automation test"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"appId":'#(appId)',"comment":"test","taskId":'#(taskId)',"taskDecision":'#(taskDecision)',"isSaveResponse":false,"isSubmit":true,"emailNotificationModel":{"applicant":{"communicationId":6712,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6715,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}}
0
5349
* def payloadWithNoConditionMet = {"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"conditionReview":[{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":'#(conditionId)',"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":false,"responseReceived":["adding Test Response message"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":-1,"conditionDescriptionDetail":"test","conditionDescription":"test","createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":false,"responseReceived":["Automation test response"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"appId":'#(appId)',"comment":"test","taskId":'#(taskId)',"taskDecision":'#(taskDecision)',"isSaveResponse":false,"isSubmit":true,"emailNotificationModel":{"applicant":{"communicationId":6712,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6715,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}}
0
5350
* def payloadWithoutConditionMet = {"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"conditionReview":[{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":'#(conditionId)',"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":null,"responseReceived":["adding Test Response message"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"appId":'#(appId)',"comment":"Test","taskId":'#(taskId)',"taskDecision":'#(taskDecision)',"isSaveResponse":false,"isSubmit":true,"emailNotificationModel":{"applicant":{"communicationId":6704,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6707,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}}
0
5351
* def payloadWithPartialConditionMet = {"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"conditionReview":[{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":'#(conditionId)',"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":true,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":2,"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"":false,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":'#(appConditionId)',"appId":'#(appId)',"conditionId":3,"conditionDescriptionDetail":'#(conditionDescriptionDetail)',"conditionDescription":'#(conditionDescriptionDetail)',"createdBy":"tgupta@svam.com","conditionDefinedDate":'#(conditionDefinedDate)',"responseDueDate":'#(responseDueDate)',"isConditionMet":true,"responseReceived":null,"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":'#(taskId)',"taskRoleId":0,"taskDecision":'#(taskDecision)',"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"appId":'#(appId)',"comment":"test","taskId":'#(taskId)',"taskDecision":'#(taskDecision)',"isSaveResponse":false,"isSubmit":false,"emailNotificationModel":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}}
0
5352
* eval if (isConditionMet == true) payload = payloadWithYesConditionMet
0
5353
* eval if (isConditionMet == false) payload = payloadWithNoConditionMet
0
5354
* eval if (isConditionMet == null) payload = payloadWithoutConditionMet
1
#* eval if (isConditionMet == 'Partial') payload = payloadWithPartialConditionMet
5356
And request payload
0
5357
And print payload
0
18:39:54.461 [print] {
"effectiveDate": "2022-11-15",
"expirationDate": "2023-02-13",
"conditionReview": [
{
"appConditionId": 161,
"appId": 13812,
"conditionId": 1,
"conditionDescriptionDetail": "Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name",
"conditionDescription": "Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC\u2019s dba name",
"createdBy": "tgupta@svam.com",
"conditionDefinedDate": "2022-11-15T08:09:48.033",
"responseDueDate": "2023-02-13T00:00:00",
"isConditionMet": true,
"responseReceived": [
"adding Test Response message"
],
"attachedDocumentIds": null,
"responseReceivedJson": null,
"attachDocument": null,
"taskOption": null,
"documents": [
],
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
{
"appConditionId": 161,
"appId": 13812,
"conditionId": -1,
"conditionDescriptionDetail": "test",
"conditionDescription": "test",
"createdBy": "tgupta@svam.com",
"conditionDefinedDate": "2022-11-15T08:09:48.033",
"responseDueDate": "2023-02-13T00:00:00",
"isConditionMet": true,
"responseReceived": [
"Automation test"
],
"attachedDocumentIds": null,
"responseReceivedJson": null,
"attachDocument": null,
"taskOption": null,
"documents": [
],
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": 1201,
"taskRoleId": 0,
"taskDecision": 100,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
}
],
"appId": 13812,
"comment": "test",
"taskId": 1201,
"taskDecision": 100,
"isSaveResponse": false,
"isSubmit": true,
"emailNotificationModel": {
"applicant": {
"communicationId": 6712,
"email": "automation@svam.com",
"appId": 13812,
"emailContactTypeId": 1,
"isChecked": true,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"attorney": {
"communicationId": 6715,
"email": "sbandi@svam.com",
"appId": 13812,
"emailContactTypeId": 2,
"isChecked": true,
"roleId": 0,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"communityBoard": {
"communicationId": 0,
"email": null,
"appId": 0,
"emailContactTypeId": 0,
"isChecked": false,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"other": {
"communicationId": 0,
"email": "",
"appId": 13812,
"emailContactTypeId": 0,
"isChecked": false,
"roleId": null,
"decision": null,
"screen": null,
"emails": null,
"solicitorEmails": null,
"notificatonTypeId": null,
"acaType": null,
"isInstantEmail": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
}
}
}
5358
When method post
137
18:39:54.462 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/conditionReview/saveConditionsInfo
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiZjczMjQ3OTMtNDliOS00NjczLTllNjYtZDkwZmU3Y2Q1NGU2IiwiZXhwIjoxNjY4NTQ2NTQ1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.gfEwbxw30q7CRyXQxhJKeasvtfuHwkvmaCJUKIfYLIM
2 > Content-Length: 3663
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"effectiveDate":"2022-11-15","expirationDate":"2023-02-13","conditionReview":[{"appConditionId":161,"appId":13812,"conditionId":1,"conditionDescriptionDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC\u2019s dba name","conditionDescription":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC\u2019s dba name","createdBy":"tgupta@svam.com","conditionDefinedDate":"2022-11-15T08:09:48.033","responseDueDate":"2023-02-13T00:00:00","isConditionMet":true,"responseReceived":["adding Test Response message"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},{"appConditionId":161,"appId":13812,"conditionId":-1,"conditionDescriptionDetail":"test","conditionDescription":"test","createdBy":"tgupta@svam.com","conditionDefinedDate":"2022-11-15T08:09:48.033","responseDueDate":"2023-02-13T00:00:00","isConditionMet":true,"responseReceived":["Automation test"],"attachedDocumentIds":null,"responseReceivedJson":null,"attachDocument":null,"taskOption":null,"documents":[],"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":1201,"taskRoleId":0,"taskDecision":100,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}],"appId":13812,"comment":"test","taskId":1201,"taskDecision":100,"isSaveResponse":false,"isSubmit":true,"emailNotificationModel":{"applicant":{"communicationId":6712,"email":"automation@svam.com","appId":13812,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6715,"email":"sbandi@svam.com","appId":13812,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13812,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}}
18:39:54.598 response time in milliseconds: 136
2 < 404
2 < Transfer-Encoding: chunked
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 13:09:51 GMT
5359
Then status 200
1
18:39:54.600 classpath:karate/UseCases/LicensesCommonMethods.feature:5359
Then status 200
status code was: 404, expected: 200, response time in milliseconds: 136, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/conditionReview/saveConditionsInfo, response:
classpath:karate/UseCases/LicensesCommonMethods.feature:5359
5360
And print response
0
5361
* match response == 'true'
0
448
* call read('LicensesCommonMethods.feature@SelectUploadTextConditionsFromConditonallyApprovedLic') {isConditionMet:false}
0
449
* call read('LicensesCommonMethods.feature@SelectUploadTextConditionsFromConditonallyApprovedLic') {isConditionMet:null}
0
450
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Active'}
0
452
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {expStatus:'#(licStatus)'}
0
278
* call read('LicensesCommonMethods.feature@getDueDateExtension'){}
0
279
* def extendedDueDate = currentDueDate
0
281
* def approvedStatus = false
0
282
And print extendedDueDate
0
283
* call read('LicensesCommonMethods.feature@ApproveDisapproveDueDateExtension'){}
0